aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-15 13:58:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-15 13:58:51 +0100
commitfc70ff1216b5274dcbb2d596373d3b97d1e91683 (patch)
treef70d36553594a0f0379a4ea1bbe927f8841ccfb6
parent87162d5b1c227bfecedbe1fd39c66eb0e455f861 (diff)
downloadrspamd-fc70ff1216b5274dcbb2d596373d3b97d1e91683.tar.gz
rspamd-fc70ff1216b5274dcbb2d596373d3b97d1e91683.zip
[Minor] Fix leak in monitored deinitialization
-rw-r--r--src/libserver/monitored.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index bd350e16d..b94229a24 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -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);
}