]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix events leak
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 18 Sep 2019 11:18:09 +0000 (12:18 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 18 Sep 2019 11:18:09 +0000 (12:18 +0100)
src/fuzzy_storage.c

index 257c9893b16ef4e2484de250fe0044e4abfae0f8..9e98f3df18fe8cdff3f5281542076d9ea4f2c214 100644 (file)
@@ -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);
 }