From: Vsevolod Stakhov Date: Wed, 20 Feb 2019 12:11:33 +0000 (+0000) Subject: [Minor] Fix crash X-Git-Tag: 1.9.0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64604af61d3f1d8a7ada3eabe5fa62611620d16b;p=thirdparty%2Frspamd.git [Minor] Fix crash --- diff --git a/src/libutil/http_router.c b/src/libutil/http_router.c index be45c43515..e9dc489629 100644 --- a/src/libutil/http_router.c +++ b/src/libutil/http_router.c @@ -389,6 +389,7 @@ rspamd_http_router_new (rspamd_http_router_error_handler_t eh, new->finish_handler = fh; new->response_headers = g_hash_table_new_full (rspamd_strcase_hash, rspamd_strcase_equal, g_free, g_free); + new->ev_base = ctx->ev_base; if (timeout) { new->tv = *timeout;