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
Simply say fun_ptr(...) instead of (*fun_ptr)(...).
[simgrid.git]
/
src
/
xbt
/
mmalloc
/
mfree.c
diff --git
a/src/xbt/mmalloc/mfree.c
b/src/xbt/mmalloc/mfree.c
index
86b7505
..
e9e7210
100644
(file)
--- a/
src/xbt/mmalloc/mfree.c
+++ b/
src/xbt/mmalloc/mfree.c
@@
-187,7
+187,7
@@
void mfree(void *md, void *ptr)
}
}
if (mdp->mfree_hook != NULL) {
-
(*mdp->mfree_hook)
(mdp, ptr);
+
mdp->mfree_hook
(mdp, ptr);
} else {
__mmalloc_free(mdp, ptr);
}