diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-26 16:29:45 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-26 16:29:45 +0000 |
commit | 3089d894c57e2326db35f6c96224e0a005d803e6 (patch) | |
tree | b5ec006987fec7af7faeb638db810c866e096079 /src/fuzzy_storage.c | |
parent | 7d04b331647d7738e5c273936ed0155960835bae (diff) | |
download | rspamd-3089d894c57e2326db35f6c96224e0a005d803e6.tar.gz rspamd-3089d894c57e2326db35f6c96224e0a005d803e6.zip |
[Minor] Fix another deinit race
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 50a99f030..7fdce82ae 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -3235,8 +3235,9 @@ start_fuzzy (struct rspamd_worker *worker) rspamd_keypair_cache_destroy (ctx->keypair_cache); } + 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); |