Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Caught another leak.
[simgrid.git] / src / xbt / parmap.c
index 7120fae..ad335a0 100644 (file)
@@ -326,6 +326,7 @@ static void *xbt_parmap_worker_main(void *arg)
 
     /* We are destroying the parmap */
     } else {
 
     /* We are destroying the parmap */
     } else {
+      SIMIX_context_free(context);
       xbt_free(data);
       parmap->worker_signal_f(parmap);
       return NULL;
       xbt_free(data);
       parmap->worker_signal_f(parmap);
       return NULL;