[Bug libstdc++/46455] resource leaks due to missing destructors for mutexes and condvars
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 16 23:38:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46455
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #22424|0 |1
is obsolete| |
--- Comment #28 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-11-16 23:33:44 UTC ---
Created attachment 22427
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22427
add destructors in <ext/concurrence.h>
almost the same as the last patch but the destructor calls:
_S_destroy<__gthread_recursive_mutex_t>(&_M_mutex, 0);
More information about the Gcc-bugs
mailing list