]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/xbt_os_thread.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't mix the refcount of s4u::Comm and the one of CommImpl
[simgrid.git] / src / xbt / xbt_os_thread.c
index 613869ac818591932756dee75cd31a703045685b..b83e310022bac9bf86fe4fddcfca8809a23222ff 100644 (file)
@@ -122,6 +122,7 @@ void xbt_os_thread_mod_postexit(void)
 
   //   if ((errcode=pthread_key_delete(xbt_self_thread_key)))
   //     THROWF(system_error,errcode,"pthread_key_delete failed for xbt_self_thread_key");
+  free(main_thread->name);
   free(main_thread);
   main_thread = NULL;
   thread_mod_inited = 0;