X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/df12bbc75c274351f3b3a628740e0b3270f08e18..48eda6a2033423e980783b6e40bc35824808bb9a:/src/bindings/lua/lua_host.c diff --git a/src/bindings/lua/lua_host.c b/src/bindings/lua/lua_host.c index 3090b4b141..a862a2ae86 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(ht); + __MSG_host_destroy(MSG_host_priv(ht)); return 0; }