diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-09 14:10:44 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-09 14:10:44 +0300 |
commit | 43d54b4b589faa36f74c815725fd64c18258448e (patch) | |
tree | 36b8d4f3d59dbbcd6dc8486c5a2702e412d5cade /plugins/MirLua/src | |
parent | fbf164f781503ee2e538156bc701a957e3dea713 (diff) |
code cleaning
Diffstat (limited to 'plugins/MirLua/src')
-rw-r--r-- | plugins/MirLua/src/Modules/m_http.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/Modules/m_http.cpp b/plugins/MirLua/src/Modules/m_http.cpp index bbad6165fb..a4d485a34c 100644 --- a/plugins/MirLua/src/Modules/m_http.cpp +++ b/plugins/MirLua/src/Modules/m_http.cpp @@ -115,7 +115,7 @@ static int response__index(lua_State *L) static int response__gc(lua_State *L) { MHttpResponse **response = (MHttpResponse **)luaL_checkudata(L, 1, MT_NETLIBHTTPRESPONSE); - Netlib_FreeHttpRequest(*response); + delete *response; return 0; } |