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
make it clear to static analyzers that this mem is not leaked
[simgrid.git]
/
examples
/
s4u
/
actor-kill
/
s4u_actor-kill.cpp
diff --git
a/examples/s4u/actor-kill/s4u_actor-kill.cpp
b/examples/s4u/actor-kill/s4u_actor-kill.cpp
index
16794c7
..
e6a77aa
100644
(file)
--- a/
examples/s4u/actor-kill/s4u_actor-kill.cpp
+++ b/
examples/s4u/actor-kill/s4u_actor-kill.cpp
@@
-48,5
+48,7
@@
int main(int argc, char* argv[])
e->run(); /* - Run the simulation */
XBT_INFO("Simulation time %g", e->getClock());
+
+ delete e;
return 0;
}