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
there were no difference between __mmalloc_free and mfree anymore; merge them
[simgrid.git]
/
src
/
xbt
/
heap.c
diff --git
a/src/xbt/heap.c
b/src/xbt/heap.c
index
71a87a0
..
a91e006
100644
(file)
--- a/
src/xbt/heap.c
+++ b/
src/xbt/heap.c
@@
-61,7
+61,7
@@
void xbt_heap_free(xbt_heap_t H)
int i;
if (H->free)
for (i = 0; i < H->count; i++)
-
(*(H->free))
(H->items[i].content);
+
H->free
(H->items[i].content);
free(H->items);
free(H);
return;