diff options
| author | chrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-13 11:44:13 +0000 |
|---|---|---|
| committer | chrbr <chrbr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-13 11:44:13 +0000 |
| commit | 42badf45ae92e03846e86c8450cbf3a4e761f31a (patch) | |
| tree | ea81995bcf8ba6b538246e3cf6b4eab1b8b45c87 /libstdc++-v3/src/c++98 | |
| parent | 4f08bfe331b06bc52a56f1f6f70fb973212e6998 (diff) | |
| download | ppe42-gcc-42badf45ae92e03846e86c8450cbf3a4e761f31a.tar.gz ppe42-gcc-42badf45ae92e03846e86c8450cbf3a4e761f31a.zip | |
PR:52604: (~__freelist): Reset pointer
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186414 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/c++98')
| -rw-r--r-- | libstdc++-v3/src/c++98/mt_allocator.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/src/c++98/mt_allocator.cc b/libstdc++-v3/src/c++98/mt_allocator.cc index 16c2fb8063e..92f252be79b 100644 --- a/libstdc++-v3/src/c++98/mt_allocator.cc +++ b/libstdc++-v3/src/c++98/mt_allocator.cc @@ -1,6 +1,7 @@ // Allocator details. -// Copyright (C) 2004, 2005, 2006, 2009, 2010 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005, 2006, 2009, 2010, 2012 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -48,6 +49,7 @@ namespace { __gthread_key_delete(_M_key); ::operator delete(static_cast<void*>(_M_thread_freelist_array)); + _M_thread_freelist = 0; } } }; |

