mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix memory leak in OpenSSL code
This commit is contained in:
parent
f518d6cea1
commit
0c1bff841b
@ -1,3 +1,7 @@
|
|||||||
|
2014-11-19 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
|
* openssl.c (ssl_check_certificate): Fix memory leak
|
||||||
|
|
||||||
2014-11-19 Tim Ruehsen <tim.ruehsen@gmx.de>
|
2014-11-19 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
* gnutls.c (ssl_init): Report load failure of cert files from
|
* gnutls.c (ssl_init): Report load failure of cert files from
|
||||||
|
@ -771,7 +771,7 @@ ssl_check_certificate (int fd, const char *host)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sk_GENERAL_NAME_free (subjectAltNames);
|
sk_GENERAL_NAME_pop_free(subjectAltNames, GENERAL_NAME_free);
|
||||||
if (host_in_octet_string)
|
if (host_in_octet_string)
|
||||||
ASN1_OCTET_STRING_free(host_in_octet_string);
|
ASN1_OCTET_STRING_free(host_in_octet_string);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user