| Submitter | Laurent Alfonsi |
|---|---|
| Date | April 19, 2012, 8:37 a.m. |
| Message ID | <4F8FCEAE.8040709@st.com> |
| Download | mbox | patch |
| Permalink | /patch/153686/ |
| State | New |
| Headers | show |
Comments
Also, here is the Changelog :
2012-04-13 Laurent Alfonsi <laurent.alfonsi@st.com>
PR libstdc++/52604
* src/mt_allocator.cc: (__freelist::~__freelist): Reset pointer.
Patch
Index: src/c++98/mt_allocator.cc =================================================================== --- src/c++98/mt_allocator.cc (revision 186374) +++ src/c++98/mt_allocator.cc (working copy) @@ -48,6 +48,7 @@ { __gthread_key_delete(_M_key); ::operator delete(static_cast<void*>(_M_thread_freelist_array)); + _M_thread_freelist = 0; } } };