aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-18 12:18:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-09-18 12:18:09 +0100
commit7495b2553520b2bc2ea5fe6f8c0888cf2595d65f (patch)
tree30ea2959da93905a29e65740978b598d95f406cf /src
parent0240e90e511812cb1c97c47d709835d526ad6e46 (diff)
downloadrspamd-7495b2553520b2bc2ea5fe6f8c0888cf2595d65f.tar.gz
rspamd-7495b2553520b2bc2ea5fe6f8c0888cf2595d65f.zip
[Fix] Fix events leak
Diffstat (limited to 'src')
-rw-r--r--src/fuzzy_storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 257c9893b..9e98f3df1 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -518,6 +518,7 @@ rspamd_fuzzy_reply_io (EV_P_ ev_io *w, int revents)
struct fuzzy_session *session = (struct fuzzy_session *)w->data;
rspamd_fuzzy_write_reply (session);
+ ev_io_stop (EV_A_ w);
REF_RELEASE (session);
}