Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : block 0 (mdp->heapinfo[0]) removed in comparison of heap in mmalloc_c...
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 6 Dec 2011 14:14:45 +0000 (15:14 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 6 Dec 2011 14:14:45 +0000 (15:14 +0100)
src/xbt/mmalloc/mm_legacy.c

index 0242f2a..6ed27cc 100644 (file)
@@ -403,7 +403,7 @@ int mmalloc_compare_mdesc(struct mdesc *mdp1, struct mdesc *mdp2){
        }
        i = block_free + mdp1->heapinfo[block_free].free.size;
       }else{
-       i = 0;
+       i = 1;
       }
     }