From 11aaaa84ae74f52ba9cb62ec6745c4b38f0247f9 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Thu, 14 Oct 2004 21:05:24 +0000 Subject: mt_allocator.h: Tweaks. 2004-10-14 Benjamin Kosnik * include/ext/mt_allocator.h: Tweaks. * src/mt_allocator.cc: Same. From-SVN: r89052 --- libstdc++-v3/include/ext/mt_allocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libstdc++-v3/include/ext/mt_allocator.h') diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index 115ade7..3bbfc79 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -705,7 +705,7 @@ namespace __gnu_cxx // Already reserved. typedef typename __pool_type::_Block_record _Block_record; _Block_record* __block = __bin._M_first[__thread_id]; - __bin._M_first[__thread_id] = __bin._M_first[__thread_id]->_M_next; + __bin._M_first[__thread_id] = __block->_M_next; __pool._M_adjust_freelist(__bin, __block, __thread_id); const __pool_base::_Tune& __options = __pool._M_get_options(); -- cgit v1.1