X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8be7ea3f9e71cd563e91b6aba63f5c70f043fbd5..281f8c29e177852dcb1591fc31e363e1176857c8:/src/bindings/lua/lua_host.c diff --git a/src/bindings/lua/lua_host.c b/src/bindings/lua/lua_host.c index 9e33f3c8f8..f0184b132a 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; }