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
[mc] Make C++ classes out of addres_space, process, snapshot
[simgrid.git]
/
src
/
mc
/
mc_visited.cpp
diff --git
a/src/mc/mc_visited.cpp
b/src/mc/mc_visited.cpp
index
bd6cb0a
..
d0f7987
100644
(file)
--- a/
src/mc/mc_visited.cpp
+++ b/
src/mc/mc_visited.cpp
@@
-37,9
+37,8
@@
static int is_exploration_stack_state(mc_visited_state_t state){
void visited_state_free(mc_visited_state_t state)
{
if (state) {
- if(!is_exploration_stack_state(state)){
- MC_free_snapshot(state->system_state);
- }
+ if(!is_exploration_stack_state(state))
+ delete state->system_state;
xbt_free(state);
}
}