commit 9374c19: [Minor] Destroy ratelimit buckets
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Nov 25 13:28:09 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-11-23 14:34:58 +0000
URL: https://github.com/rspamd/rspamd/commit/9374c19e58b3743f96b6b13e88d1366660cee696
[Minor] Destroy ratelimit buckets
---
src/fuzzy_storage.c | 4 ++++
1 file changed, 4 insertions(+)
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);
More information about the Commits
mailing list