From 784e53bd0cbf7ea3e49e64a13c48e8fdc08b926c Mon Sep 17 00:00:00 2001 From: Marion Guthmuller Date: Sat, 5 Oct 2013 12:24:52 +0200 Subject: [PATCH] model-checker : cleanup --- src/xbt/mmalloc/mm_diff.c | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/src/xbt/mmalloc/mm_diff.c b/src/xbt/mmalloc/mm_diff.c index b7e058079e..49c5968780 100644 --- a/src/xbt/mmalloc/mm_diff.c +++ b/src/xbt/mmalloc/mm_diff.c @@ -331,31 +331,25 @@ int init_heap_information(xbt_mheap_t heap1, xbt_mheap_t heap2, xbt_dynar_t i1, to_ignore2 = i2; equals_to1 = malloc(heaplimit * sizeof(heap_area_t *)); - for(i=0; i<=heaplimit; i++){ - equals_to1[i] = malloc(MAX_FRAGMENT_PER_BLOCK * sizeof(heap_area_t)); - for(j=0; j