Fix. Pop all element from stack in the storage free function
This commit is contained in:
parent
e0cfae1c1a
commit
7e99e8afa4
@ -115,8 +115,8 @@ int lcurl_storage_free(lua_State *L, int storage){
|
|||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lua_pop(L, 1);
|
|
||||||
luaL_unref(L, LCURL_LUA_REGISTRY, storage);
|
luaL_unref(L, LCURL_LUA_REGISTRY, storage);
|
||||||
|
lua_pop(L, 2);
|
||||||
return LUA_NOREF;
|
return LUA_NOREF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user