From abcec414741588aaaa8b719ae581b183b2327569 Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 4 Jun 2008 16:11:13 +0000 Subject: [PATCH] plug a memleak on thread cancelation (gras listener are always canceled) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5530 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/xbt_sg_synchro.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xbt/xbt_sg_synchro.c b/src/xbt/xbt_sg_synchro.c index de8521b98f..6500d934a1 100644 --- a/src/xbt/xbt_sg_synchro.c +++ b/src/xbt/xbt_sg_synchro.c @@ -68,6 +68,7 @@ xbt_thread_join(xbt_thread_t thread) { void xbt_thread_cancel(xbt_thread_t thread) { SIMIX_process_kill(thread->s_process); + free(thread->name); free(thread); } -- 2.20.1