diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-18 15:53:20 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-18 15:53:20 +0100 |
commit | cd50e7bd57981b7b7a01eec88ae06968c625b2a7 (patch) | |
tree | 9e4a01bea6d6223f58a4980940403dd2fbcb8b9c /src/controller.c | |
parent | 907cc2eb616124abe41e7c1b525139a54f3cea8f (diff) | |
download | rspamd-cd50e7bd57981b7b7a01eec88ae06968c625b2a7.tar.gz rspamd-cd50e7bd57981b7b7a01eec88ae06968c625b2a7.zip |
[Minor] Fix some more issues
Found by: coverity scan
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c index a34bb6034..34685b92e 100644 --- a/src/controller.c +++ b/src/controller.c @@ -349,6 +349,9 @@ check_uncached: /* We have some unknown salt here */ msg_info_ctx ("incorrect key: %z, while %z expected", key_len, pbkdf->key_len); + g_free (salt_decoded); + g_free (key_decoded); /* valid even if key_decoded == NULL */ + return FALSE; } @@ -1357,6 +1360,7 @@ rspamd_controller_handle_graph ( rspamd_controller_send_ucl (conn_ent, res); ucl_object_unref (res); g_free (acc); + g_free (rrd_result); return 0; } |