aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-26 16:01:17 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-26 16:01:17 +0000
commitceaafac997acb1cd58c4682f26de0be9dfe11da6 (patch)
treebddb5c3e21eefdbee999e6787e66af120a01a4e7 /src/rspamd_proxy.c
parent54493e55a5691de3ba8eaa998aae3824402191db (diff)
downloadrspamd-ceaafac997acb1cd58c4682f26de0be9dfe11da6.tar.gz
rspamd-ceaafac997acb1cd58c4682f26de0be9dfe11da6.zip
[Minor] Fix cleanup
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r--src/rspamd_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c
index e25a66caf..4add6cc22 100644
--- a/src/rspamd_proxy.c
+++ b/src/rspamd_proxy.c
@@ -2213,8 +2213,8 @@ start_rspamd_proxy (struct rspamd_worker *worker)
rspamd_stat_close ();
}
- rspamd_http_context_free (ctx->http_ctx);
REF_RELEASE (ctx->cfg);
+ rspamd_http_context_free (ctx->http_ctx);
rspamd_log_close (worker->srv->logger, TRUE);
exit (EXIT_SUCCESS);