This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/25849] 8 byte memory leak using cerr with libpthread linked in



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]