diff options
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 920ee7f72..d81be54a1 100644 --- a/src/worker.c +++ b/src/worker.c @@ -703,8 +703,9 @@ start_worker (struct rspamd_worker *worker) rspamd_worker_block_signals (); rspamd_stat_close (); + struct rspamd_http_context *http_ctx = ctx->http_ctx; REF_RELEASE (ctx->cfg); - rspamd_http_context_free (ctx->http_ctx); + rspamd_http_context_free (http_ctx); rspamd_log_close (worker->srv->logger, TRUE); exit (EXIT_SUCCESS); |