summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-25 11:26:32 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-25 11:26:32 +0000
commitcca782250faf6a67162c28bc4156499d0b047fb4 (patch)
treebf7a6920871db322dc2d60bc0cb756feb834ff7f /src
parente9c050ea60fb5936a84ec71258d41e4a2cc5a6d2 (diff)
downloadrspamd-cca782250faf6a67162c28bc4156499d0b047fb4.tar.gz
rspamd-cca782250faf6a67162c28bc4156499d0b047fb4.zip
Avoid double free of keys cache.
Diffstat (limited to 'src')
-rw-r--r--src/controller.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index e1fa3cb82..ca7a4f686 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -1709,7 +1709,6 @@ start_controller_worker (struct rspamd_worker *worker)
g_mime_shutdown ();
rspamd_http_router_free (ctx->http);
- rspamd_keypair_cache_destroy (cache);
rspamd_log_close (rspamd_main->logger);
exit (EXIT_SUCCESS);
}