]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix crash
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Feb 2019 12:11:33 +0000 (12:11 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 20 Feb 2019 12:11:33 +0000 (12:11 +0000)
src/libutil/http_router.c

index be45c4351548568dafd27bfb34d66550c4241eaf..e9dc4896295d1f28ab00e45d99806d578d0bcb28 100644 (file)
@@ -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;