From: Marion Guthmuller Date: Tue, 1 Oct 2013 12:26:16 +0000 (+0200) Subject: model-checker : fix memory leak X-Git-Tag: v3_9_90~56^2~8 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2cf2a1f3bce79e33ead868b6ed3575b0bb332ef2?hp=6fc9b4f557c9d004ef9976e34e22d56ed8b19b1b model-checker : fix memory leak --- diff --git a/src/xbt/mmalloc/mm_diff.c b/src/xbt/mmalloc/mm_diff.c index 84d7db1d2e..86733e3e26 100644 --- a/src/xbt/mmalloc/mm_diff.c +++ b/src/xbt/mmalloc/mm_diff.c @@ -371,7 +371,9 @@ void reset_heap_information(){ equals_to1[i][j] = NULL; heap_area_free(equals_to2[i][j]); equals_to2[i][j] = NULL; - } + } + free(equals_to1[i]); + free(equals_to2[i]); } free(equals_to1);