From 8a3be37b30dffda61cc8c3dc5c7b1af8fec3d539 Mon Sep 17 00:00:00 2001 From: amelia squires Date: Wed, 4 Sep 2024 00:17:02 -0500 Subject: fix leak --- src/lua.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/lua.c b/src/lua.c index 238e1b8..225dfbf 100644 --- a/src/lua.c +++ b/src/lua.c @@ -87,6 +87,7 @@ void luaI_deepcopy(lua_State* src, lua_State* dest, enum deep_copy_flags flags){ //printf("use %p\n", lua_topointer(src, at2)); //lua_pop(dest, 1); lua_remove(dest, -2); + free(aauwu); return; } free(aauwu); -- cgit v1.2.3