aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-23 16:53:30 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-23 16:53:30 +0100
commitbb856bcce83358f7f3b0fd32afe43a6c6c5eae5e (patch)
tree2a04df6dae824a0d79d347c45a8d03b4937e8acc /src/controller.c
parente1f1e0dfcbc1e4c9726abfe08e0f1ffa58be21e3 (diff)
downloadrspamd-bb856bcce83358f7f3b0fd32afe43a6c6c5eae5e.tar.gz
rspamd-bb856bcce83358f7f3b0fd32afe43a6c6c5eae5e.zip
Fix double free if no password has been specified.
Reported by: Golub Mikhail
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c5
1 files changed, 0 insertions, 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;