Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Caught another leak.
[simgrid.git] / src / xbt / parmap.c
index 90a0b81..ad335a0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2004, 2005, 2007, 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2004-2005, 2007, 2009-2013. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -326,6 +326,7 @@ static void *xbt_parmap_worker_main(void *arg)
 
     /* We are destroying the parmap */
     } else {
+      SIMIX_context_free(context);
       xbt_free(data);
       parmap->worker_signal_f(parmap);
       return NULL;