diff options
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 427a23827..e87da02b1 100644 --- a/src/lua/lua_http.c +++ b/src/lua/lua_http.c @@ -123,8 +123,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); |