From: Andrej Kacian Date: Thu, 24 Mar 2016 07:43:58 +0000 (+0100) Subject: Fix crash in rare corner case in password en/decryption. X-Git-Tag: 3.14.0~135^2~5 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=0970a983844b1bb9616821383f0a4d55a59dd6bf Fix crash in rare corner case in password en/decryption. --- diff --git a/src/password.c b/src/password.c index 826d31675..e849cab84 100644 --- a/src/password.c +++ b/src/password.c @@ -295,7 +295,6 @@ gchar *password_encrypt_gnutls(const gchar *password, debug_print("Could not acquire a CSP handle.\n"); #endif g_free(key.data); - g_free(iv.data); return NULL; } @@ -468,7 +467,6 @@ gchar *password_decrypt_gnutls(const gchar *password, debug_print("Could not acquire a CSP handle.\n"); #endif g_free(key.data); - g_free(iv.data); g_strfreev(tokens); return NULL; }