From 5c12f278e4acdb6745858a4b841c8a4dedd09fea Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 4 Apr 2006 06:28:54 +0000 Subject: [PATCH] plug a memleak on remote exception propagation git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2057 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/ex.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xbt/ex.c b/src/xbt/ex.c index 18de35efee..9bd1bfcb5c 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -94,6 +94,7 @@ void xbt_ex_free(xbt_ex_t e) { free(e.bt_strings[i]); free(e.bt_strings); e.bt_strings=NULL; + free(e.host); } /* locally, only one chunk of memory is allocated by the libc */ if (e.bt_strings) -- 2.20.1