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
match new and delete
[simgrid.git]
/
src
/
simix
/
smx_host.cpp
diff --git
a/src/simix/smx_host.cpp
b/src/simix/smx_host.cpp
index
bf054d5
..
8f80f02
100644
(file)
--- a/
src/simix/smx_host.cpp
+++ b/
src/simix/smx_host.cpp
@@
-127,8
+127,7
@@
void SIMIX_host_destroy(void *h)
xbt_swag_free(host->process_list);
/* Clean host structure */
- free(host);
- return;
+ delete host;
}
sg_host_t SIMIX_host_self()