Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug a memleak on remote exception propagation
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 4 Apr 2006 06:28:54 +0000 (06:28 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 4 Apr 2006 06:28:54 +0000 (06:28 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2057 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/ex.c

index 18de35e..9bd1bfc 100644 (file)
@@ -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)