diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-07-26 13:11:57 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-07-26 13:14:10 +0200 |
commit | 9ac17392b318daee37755fcf2d256dddd7dbbe1a (patch) | |
tree | 293bdc7b9aa08de000b8eb2fc3ad03904311fb89 /src/lua/lua_http.c | |
parent | 9ae17334908c13eec8e1a39e2ce72d49648ac7e6 (diff) | |
download | rspamd-9ac17392b318daee37755fcf2d256dddd7dbbe1a.tar.gz rspamd-9ac17392b318daee37755fcf2d256dddd7dbbe1a.zip |
[Fix] Lua_http: freeing
Diffstat (limited to 'src/lua/lua_http.c')
-rw-r--r-- | src/lua/lua_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_http.c b/src/lua/lua_http.c index 40c79624c..a655b8ec0 100644 --- a/src/lua/lua_http.c +++ b/src/lua/lua_http.c @@ -135,8 +135,8 @@ static void lua_http_maybe_free (struct lua_http_cbdata *cbd) { if (cbd->session) { - rspamd_session_remove_event (cbd->session, lua_http_fin, cbd); rspamd_session_watcher_pop (cbd->session, cbd->w); + rspamd_session_remove_event (cbd->session, lua_http_fin, cbd); } else { lua_http_fin (cbd); |