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
model-checker : memory free and cleanup
[simgrid.git]
/
src
/
mc
/
mc_pair.c
diff --git
a/src/mc/mc_pair.c
b/src/mc/mc_pair.c
index f25394abbf287fbe39342a89a937c80764a97edf..f14e6c493e611999c53e4d30eb0ba045a8fb9a4a 100644
(file)
--- a/
src/mc/mc_pair.c
+++ b/
src/mc/mc_pair.c
@@
-25,3
+25,7
@@
void MC_pair_delete(mc_pair_t p){
xbt_free(p);
p = NULL;
}
xbt_free(p);
p = NULL;
}
+
+void mc_pair_free_voidp(void *p){
+ MC_pair_delete((mc_pair_t) * (void **)p);
+}