From: mquinson Date: Tue, 4 Apr 2006 06:28:54 +0000 (+0000) Subject: plug a memleak on remote exception propagation X-Git-Tag: v3.3~3301 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5c12f278e4acdb6745858a4b841c8a4dedd09fea 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 --- 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)