projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement certificate chain verification; fix leak; fix return code
[claws.git]
/
src
/
etpan
/
etpan-ssl.c
diff --git
a/src/etpan/etpan-ssl.c
b/src/etpan/etpan-ssl.c
index c9dc9d8083d0e130ee09da4fe5a6d7a038f3d323..f99955b7562d5f678d08816a96290547e6fee2e7 100644
(file)
--- a/
src/etpan/etpan-ssl.c
+++ b/
src/etpan/etpan-ssl.c
@@
-125,6
+125,7
@@
gboolean etpan_certificate_check(mailstream *stream, const char *host, gint port
for (i = 0; i < chain_len; i++)
gnutls_x509_crt_deinit(certs[i]);
+ free(certs);
return result;
#endif