Deallocate TLS context when closing the Lua state.
This commit is contained in:
@ -779,6 +779,8 @@ int sb_lua_close_state(lua_State *state)
|
||||
db_driver = NULL;
|
||||
}
|
||||
|
||||
xfree(tls_lua_ctxt);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user