diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-03-02 13:41:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-03-02 13:41:18 +0000 |
commit | 6bf071df7ee6b5be66757ecdf01b1be1497df536 (patch) | |
tree | 4101847395458d4ba8eaf90d13c3e4cea05da119 /lib | |
parent | 7c028a83324bae0e038865f34e8fccbe6d9146f0 (diff) |
- 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssluse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index a1b760e08..ec5c33b28 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -2125,6 +2125,7 @@ static CURLcode get_cert_chain(struct connectdata *conn, break; #endif } + EVP_PKEY_free(pubkey); } X509V3_ext(data, i, cinf->extensions); |