Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
memleak founds by cppcheck
[simgrid.git] / examples / gras / all2all / all2all.c
index bafd273..59c54b1 100644 (file)
@@ -136,6 +136,7 @@ int sender (int argc,char *argv[]) {
   }
 
   /* Free the allocated resources, and shut GRAS down */
   }
 
   /* Free the allocated resources, and shut GRAS down */
+  free(data);
   xbt_dynar_free(&peers);
      
   gras_exit();
   xbt_dynar_free(&peers);
      
   gras_exit();