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
kill the standard hooks of mmalloc: we will change the implementation directly, not...
[simgrid.git]
/
src
/
xbt
/
mmalloc
/
mfree.c
diff --git
a/src/xbt/mmalloc/mfree.c
b/src/xbt/mmalloc/mfree.c
index
53e83ce
..
d86b0fe
100644
(file)
--- a/
src/xbt/mmalloc/mfree.c
+++ b/
src/xbt/mmalloc/mfree.c
@@
-187,10
+187,6
@@
void mfree(void *md, void *ptr)
break;
}
}
- if (mdp->mfree_hook != NULL) {
- mdp->mfree_hook(mdp, ptr);
- } else {
- __mmalloc_free(mdp, ptr);
- }
+ __mmalloc_free(mdp, ptr);
}
}