fix few mem leaks
This commit is contained in:
@@ -1074,6 +1074,7 @@ static int l_searchfile(lua_State *L) {
|
||||
}
|
||||
|
||||
lua_pushstring(L, path);
|
||||
free(path);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user