diff options
-rw-r--r-- | src/fuzzy_storage.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index 26f7da902..bc13b7049 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -2095,6 +2095,10 @@ start_fuzzy (struct rspamd_worker *worker) rspamd_keypair_cache_destroy (ctx->keypair_cache); } + if (ctx->ratelimit_buckets) { + rspamd_lru_hash_destroy (ctx->ratelimit_buckets); + } + REF_RELEASE (ctx->cfg); rspamd_log_close (worker->srv->logger, TRUE); |