From f039ea6f861c29a986d0d6aa7cd863533972d2cf Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 5 Mar 2019 16:36:36 +0000 Subject: [PATCH] [Minor] Sigh, another libevent stupidity --- src/libutil/http_context.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libutil/http_context.c b/src/libutil/http_context.c index a17b86af3..9182285a3 100644 --- a/src/libutil/http_context.c +++ b/src/libutil/http_context.c @@ -51,7 +51,8 @@ rspamd_http_keepalive_queue_cleanup (GQueue *conns) cbd = (struct rspamd_http_keepalive_cbdata *)cur->data; rspamd_http_connection_unref (cbd->conn); - event_del (&cbd->ev); + /* Event is deleted here by deletion of the ev_base */ + /* event_del (&cbd->ev); */ g_free (cbd); cur = cur->next; -- 2.39.5