mirror of git://gcc.gnu.org/git/gcc.git
parent
7911cc9e23
commit
2db21e7eb9
|
@ -1,3 +1,8 @@
|
||||||
|
2012-04-13 Laurent Alfonsi <laurent.alfonsi@st.com>
|
||||||
|
|
||||||
|
PR libstdc++/52604
|
||||||
|
* src/c++98/mt_allocator.cc: (~__freelist): Reset pointer.
|
||||||
|
|
||||||
2012-04-13 Paolo Carlini <paolo.carlini@oracle.com>
|
2012-04-13 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
* include/debug/safe_iterator.h (_BeforeBeginHelper<>::
|
* include/debug/safe_iterator.h (_BeforeBeginHelper<>::
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// Allocator details.
|
// 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
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -48,6 +49,7 @@ namespace
|
||||||
{
|
{
|
||||||
__gthread_key_delete(_M_key);
|
__gthread_key_delete(_M_key);
|
||||||
::operator delete(static_cast<void*>(_M_thread_freelist_array));
|
::operator delete(static_cast<void*>(_M_thread_freelist_array));
|
||||||
|
_M_thread_freelist = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue