[Bug libstdc++/71684] Memory leak with std::mutex and std::lock_guard on freebsd
nsz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 28 15:32:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71684
nsz at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nsz at gcc dot gnu.org
--- Comment #1 from nsz at gcc dot gnu.org ---
on a posix platform pthread_mutex_destroy should be called for a mutex if its
life time ends, so the ifdef logic seems wrong (the initializer does not make a
difference).
More information about the Gcc-bugs
mailing list