aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-03-02 13:41:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2010-03-02 13:41:18 +0000
commit6bf071df7ee6b5be66757ecdf01b1be1497df536 (patch)
tree4101847395458d4ba8eaf90d13c3e4cea05da119 /lib
parent7c028a83324bae0e038865f34e8fccbe6d9146f0 (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.c1
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);