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
Clean cleanups with mallocators... Thanks Pablo for pointing this out!
[simgrid.git]
/
src
/
simix
/
smx_global.c
diff --git
a/src/simix/smx_global.c
b/src/simix/smx_global.c
index
046f275
..
311f0ab
100644
(file)
--- a/
src/simix/smx_global.c
+++ b/
src/simix/smx_global.c
@@
-163,7
+163,7
@@
void SIMIX_display_process_status(void)
free(who);
who = who2;
xbt_fifo_foreach(p_simdata->cond->actions, item, act, smx_action_t) {
free(who);
who = who2;
xbt_fifo_foreach(p_simdata->cond->actions, item, act, smx_action_t) {
- who2 = bprintf("%s '%s'
", who, act->name
);
+ who2 = bprintf("%s '%s'
(%p)", who, act->name,act
);
free(who);
who = who2;
}
free(who);
who = who2;
}
@@
-294,6
+294,7
@@
void SIMIX_clean(void)
xbt_dict_free(&(simix_global->registered_functions));
simix_config_finalize();
free(simix_global);
xbt_dict_free(&(simix_global->registered_functions));
simix_config_finalize();
free(simix_global);
+ simix_global = NULL;
surf_exit();
return;
surf_exit();
return;