- 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:
Daniel Stenberg
2010-03-02 13:41:18 +00:00
parent 7c028a8332
commit 6bf071df7e
3 changed files with 9 additions and 1 deletions

View File

@@ -2125,6 +2125,7 @@ static CURLcode get_cert_chain(struct connectdata *conn,
break;
#endif
}
EVP_PKEY_free(pubkey);
}
X509V3_ext(data, i, cinf->extensions);