Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : remove chunks used comparison at the beginning of mmalloc_compare...
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Sun, 11 Nov 2012 19:37:50 +0000 (20:37 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Sun, 11 Nov 2012 19:37:50 +0000 (20:37 +0100)
src/xbt/mmalloc/mm_diff.c

index b019d5b..9d0a154 100644 (file)
@@ -135,11 +135,6 @@ int mmalloc_compare_heap(xbt_mheap_t heap1, xbt_mheap_t heap2, xbt_dynar_t *stac
     return 1;
   }
 
-  if(heap1->heapstats.chunks_used != heap2->heapstats.chunks_used){
-    XBT_DEBUG("Different number of chunks used in heap : %zu - %zu", heap1->heapstats.chunks_used, heap2->heapstats.chunks_used);
-    return 1;
-  }
-
   /* Heap information */
   heaplimit = ((struct mdesc *)heap1)->heaplimit;