X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fea228d813dfd7399f94d6b11299226f629172de..da6e29e9c8ead71abb84bd9bb826baa2b2c6e1db:/src/xbt/mmalloc/mm_diff.c diff --git a/src/xbt/mmalloc/mm_diff.c b/src/xbt/mmalloc/mm_diff.c index ff2dbb7847..0725a9c129 100644 --- a/src/xbt/mmalloc/mm_diff.c +++ b/src/xbt/mmalloc/mm_diff.c @@ -278,8 +278,10 @@ int mmalloc_compare_heap(xbt_mheap_t heap1, xbt_mheap_t heap2){ heapinfo1[i1].busy_frag.equal_to[j1] = 1; equal = 1; match_equals(previous); + xbt_dynar_reset(previous); break; } + xbt_dynar_reset(previous); }