This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/39366] Memory Leak in Exception Handling
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2009 19:43:24 -0000
- Subject: [Bug libstdc++/39366] Memory Leak in Exception Handling
- References: <bug-39366-17389@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2009-03-05 19:43 -------
(In reply to comment #5)
> Yes but this static __thread variable must be freed somehow when the thread
> exits.
They are freed when the thread is destroyed or should be. The compiler does
not know much about threads here really.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39366