We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8676dc0 commit eb21f4fCopy full SHA for eb21f4f
1 file changed
src/lcmulti.c
@@ -74,7 +74,10 @@ static int lcurl_multi_cleanup(lua_State *L){
74
75
luaL_unref(L, LCURL_LUA_REGISTRY, p->tm.cb_ref);
76
luaL_unref(L, LCURL_LUA_REGISTRY, p->tm.ud_ref);
77
+ luaL_unref(L, LCURL_LUA_REGISTRY, p->sc.cb_ref);
78
+ luaL_unref(L, LCURL_LUA_REGISTRY, p->sc.ud_ref);
79
p->tm.cb_ref = p->tm.ud_ref = LUA_NOREF;
80
+ p->sc.cb_ref = p->sc.ud_ref = LUA_NOREF;
81
return 0;
82
}
83
0 commit comments