projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d643604
)
Fix crash in rare corner case in password en/decryption.
author
Andrej Kacian
<ticho@claws-mail.org>
Thu, 24 Mar 2016 07:43:58 +0000
(08:43 +0100)
committer
Andrej Kacian
<ticho@claws-mail.org>
Thu, 24 Mar 2016 07:43:58 +0000
(08:43 +0100)
src/password.c
patch
|
blob
|
history
diff --git
a/src/password.c
b/src/password.c
index 826d3167545842f72f7491840e715afabece6ddf..e849cab8452d3daf16245dbf32b567314b23d66c 100644
(file)
--- 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;
}