]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix leak in monitored deinitialization
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 15 Jun 2018 12:58:51 +0000 (13:58 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 15 Jun 2018 12:58:51 +0000 (13:58 +0100)
src/libserver/monitored.c

index bd350e16db1e428f5ffe9b4cfaa40b0305f670c8..b94229a24d15498eed6957e1f9e5441dac14cc69 100644 (file)
@@ -609,6 +609,7 @@ rspamd_monitored_ctx_destroy (struct rspamd_monitored_ctx *ctx)
        }
 
        g_ptr_array_free (ctx->elts, TRUE);
+       g_hash_table_unref (ctx->helts);
        g_free (ctx);
 }