Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug a memleak
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Oct 2009 14:46:52 +0000 (14:46 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Oct 2009 14:46:52 +0000 (14:46 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6745 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_rl_synchro.c

index 1a74c0b..519064c 100644 (file)
@@ -64,6 +64,7 @@ void xbt_thread_join(xbt_thread_t thread)
 {
   DEBUG1("Join thread %p", thread);
   xbt_os_thread_join(thread->os_thread, NULL);
+  xbt_free(thread);
 }
 
 void xbt_thread_exit()