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
fix invalid read
[simgrid.git]
/
src
/
instr
/
instr_config.cpp
diff --git
a/src/instr/instr_config.cpp
b/src/instr/instr_config.cpp
index
6c837b2
..
d8a3a82
100644
(file)
--- a/
src/instr/instr_config.cpp
+++ b/
src/instr/instr_config.cpp
@@
-139,10
+139,10
@@
int TRACE_end()
TRACE_last_timestamp_to_dump = surf_get_clock();
TRACE_paje_dump_buffer(true);
TRACE_last_timestamp_to_dump = surf_get_clock();
TRACE_paje_dump_buffer(true);
-
container_t root = simgrid::instr::Container::getRootContainer()
;
+
simgrid::instr::Type* root_type = simgrid::instr::Container::getRootContainer()->type_
;
/* destroy all data structures of tracing (and free) */
/* destroy all data structures of tracing (and free) */
- delete
root
;
- delete root
->type_
;
+ delete
simgrid::instr::Container::getRootContainer()
;
+ delete root
_type
;
/* close the trace files */
const char* format = xbt_cfg_get_string(OPT_TRACING_FORMAT);
/* close the trace files */
const char* format = xbt_cfg_get_string(OPT_TRACING_FORMAT);