A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set size_used negative for free fragment/block
[simgrid.git]
/
src
/
xbt
/
mmalloc
/
mm_diff.c
diff --git
a/src/xbt/mmalloc/mm_diff.c
b/src/xbt/mmalloc/mm_diff.c
index
bf9fb0d
..
6115d9a
100644
(file)
--- a/
src/xbt/mmalloc/mm_diff.c
+++ b/
src/xbt/mmalloc/mm_diff.c
@@
-334,7
+334,7
@@
int mmalloc_compare_heap(xbt_mheap_t heap1, xbt_mheap_t heap2, xbt_dynar_t *stac
current_fragment = j1;
- if(heapinfo1[i1].busy_frag.frag_size[j1] ==
0
) /* Free fragment */
+ if(heapinfo1[i1].busy_frag.frag_size[j1] ==
-1
) /* Free fragment */
continue;
if(heapinfo1[i1].busy_frag.equal_to[j1] != NULL)