diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-23 16:53:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-23 16:53:30 +0100 |
commit | bb856bcce83358f7f3b0fd32afe43a6c6c5eae5e (patch) | |
tree | 2a04df6dae824a0d79d347c45a8d03b4937e8acc /src/controller.c | |
parent | e1f1e0dfcbc1e4c9726abfe08e0f1ffa58be21e3 (diff) | |
download | rspamd-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.c | 5 |
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; |