From bb856bcce83358f7f3b0fd32afe43a6c6c5eae5e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 23 Sep 2015 16:53:30 +0100 Subject: [PATCH] Fix double free if no password has been specified. Reported by: Golub Mikhail --- src/controller.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/controller.c b/src/controller.c index b145037d6..700596571 100644 --- a/src/controller.c +++ b/src/controller.c @@ -421,11 +421,6 @@ static gboolean rspamd_controller_check_password( } if (password == NULL) { - - if (query_args != NULL) { - g_hash_table_unref (query_args); - } - if (ctx->secure_map == NULL) { if (ctx->password == NULL && !is_enable) { return TRUE; -- 2.39.5