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
delete the process at the end of the main method
[simgrid.git]
/
examples
/
cxx
/
comm_time
/
Master.cxx
diff --git
a/examples/cxx/comm_time/Master.cxx
b/examples/cxx/comm_time/Master.cxx
index
7ab27b6
..
c68e847
100644
(file)
--- a/
examples/cxx/comm_time/Master.cxx
+++ b/
examples/cxx/comm_time/Master.cxx
@@
-85,5
+85,8
@@
int Master::main(int argc, char** argv)
\r
cout <<"[" << getName() << ":" << getHost().getName() << "] " << "All finalize messages have been dispatched. Goodbye now!" << endl;
\r
\r
+
\r
+ delete[] slaves;
\r
+ delete this;
\r
return 0;
\r
}
\ No newline at end of file