------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-18 21:30 ------- Also looking at the code: void* v = std::malloc(sizeof(__cxa_eh_globals)); if (v == 0 || __gthread_setspecific(init._M_key, v) != 0) std::terminate();
This is a false postive as we do free it in eh_globals_dtor. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25849