summaryrefslogtreecommitdiffstats
path: root/src/plugins/fuzzy_check.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-10 14:07:28 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-09-10 14:07:28 +0100
commitf6d8cb00f91907d13d9a8f7aed49f8525dcef399 (patch)
treed36c29f4042f5b2eb0557cf9b6e95fdb6a17e575 /src/plugins/fuzzy_check.c
parenta493c2ca1174571947d8e4c68f25e78d5422c80d (diff)
downloadrspamd-f6d8cb00f91907d13d9a8f7aed49f8525dcef399.tar.gz
rspamd-f6d8cb00f91907d13d9a8f7aed49f8525dcef399.zip
[Minor] Deinit libs in client
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index b898ff2b2..6211b22f1 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1653,7 +1653,7 @@ fuzzy_cmd_from_text_part (struct rspamd_task *task,
}
}
else {
- cached = rspamd_mempool_alloc (task->task_pool, sizeof (*cached));
+ cached = rspamd_mempool_alloc0 (task->task_pool, sizeof (*cached));
additional_length = fuzzy_cmd_extension_length (task, rule);
cached->additional_length = additional_length;