X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7df3ee122334b95ac2b66abf5d584f91554d3131..d856f4bd6806492b443db55bd92257d4636a6894:/src/bindings/lua/lua_host.c diff --git a/src/bindings/lua/lua_host.c b/src/bindings/lua/lua_host.c index a862a2ae86..46d9086b0d 100644 --- a/src/bindings/lua/lua_host.c +++ b/src/bindings/lua/lua_host.c @@ -184,7 +184,7 @@ static int l_host_sleep(lua_State *L) static int l_host_destroy(lua_State *L) { msg_host_t ht = sglua_check_host(L, 1); - __MSG_host_destroy(MSG_host_priv(ht)); + __MSG_host_priv_free(MSG_host_priv(ht)); return 0; }