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
Some more memleaks removed
[simgrid.git]
/
src
/
msg
/
msg_actions.c
diff --git
a/src/msg/msg_actions.c
b/src/msg/msg_actions.c
index
d47f060
..
f542748
100644
(file)
--- a/
src/msg/msg_actions.c
+++ b/
src/msg/msg_actions.c
@@
-64,7
+64,7
@@
void _MSG_action_init()
void _MSG_action_exit() {
xbt_dict_free(&action_queues);
void _MSG_action_exit() {
xbt_dict_free(&action_queues);
-
action_queues = xbt_dict_new(
);
+
xbt_dict_free(&action_funs
);
}
static FILE *action_fp=NULL;
}
static FILE *action_fp=NULL;
@@
-152,6
+152,8
@@
MSG_error_t MSG_action_trace_run(char *path)
if (action_line)
free(action_line);
fclose(action_fp);
if (action_line)
free(action_line);
fclose(action_fp);
+ xbt_dict_free(&action_queues);
+ action_queues = xbt_dict_new();
return res;
}
return res;
}