Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Found why the backtrace were not propagated anymore
[simgrid.git] / src / xbt / ex.c
index 4c4c6be..969c68b 100644 (file)
@@ -90,9 +90,8 @@ void xbt_ex_free(xbt_ex_t e) {
   if (e.remote) {
     free(e.file);
     free(e.func);
-    if (e.bt_strings) /* FIXME: should never be NULL... */
-      for (i=0; i<e.used; i++) 
-       free(e.bt_strings[i]);
+    for (i=0; i<e.used; i++) 
+      free(e.bt_strings[i]);
     free(e.bt_strings);
     e.bt_strings=NULL;
     free(e.host);