aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fuzzy_storage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index 0636aeff7..a3486635f 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -3013,7 +3013,9 @@ start_fuzzy (struct rspamd_worker *worker)
close (fd);
}
+ }
+ if (worker->index == 0) {
g_array_free (ctx->updates_pending, TRUE);
}