From: Vsevolod Stakhov Date: Wed, 12 Sep 2018 11:56:39 +0000 (+0100) Subject: [Minor] Fix minor leak in fuzzy storage on exit X-Git-Tag: 1.8.0~128 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=07027a735d66fecf37193be5babf4b8c4f7e02ac;p=rspamd.git [Minor] Fix minor leak in fuzzy storage on exit --- 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); }