[Bug libstdc++/39366] Memory Leak in Exception Handling

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 5 18:08:00 GMT 2009



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-03-05 18:08 -------
Lets look at the source:
    static __thread abi::__cxa_eh_globals global;
    return &global;


So I still think this is a bug in glibc.  Look how we just return the address
to TLS variable.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39366



More information about the Gcc-bugs mailing list