X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/622582d9be7eb2fb9809c91d078066ad5050d804..e63dbc224bdb56acaae2aa36c1ac35bfbc1479f2:/src/simix/smx_host.cpp?ds=sidebyside diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index bf054d5437..8f80f02c70 100644 --- 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()