mirror of
https://github.com/curl/curl.git
synced 2026-07-24 18:57:18 +03:00
- Andrei Benea filed bug report #2956698 and pointed out that the
CURLOPT_CERTINFO feature leaked memory due to a missing OpenSSL function call. He provided the patch to fix it too. http://curl.haxx.se/bug/view.cgi?id=2956698
This commit is contained in:
parent
7c028a8332
commit
6bf071df7e
3 changed files with 9 additions and 1 deletions
|
|
@ -2125,6 +2125,7 @@ static CURLcode get_cert_chain(struct connectdata *conn,
|
|||
break;
|
||||
#endif
|
||||
}
|
||||
EVP_PKEY_free(pubkey);
|
||||
}
|
||||
|
||||
X509V3_ext(data, i, cinf->extensions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue