diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-05-22 20:46:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-05-22 20:46:51 +0000 |
commit | 96c093f27c8fd06e16a947b8dfab9d444ce9a9a6 (patch) | |
tree | 9830040781cda57889efae7165250ff9dcaf4a3c /lib | |
parent | a9d49769ff1a27ab5e347d0d87100e6ed0d6796b (diff) |
Andre Guibert de Bruet fixed a memory leak when PKCS #12 parsing failed
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 76c3bd846..19412877c 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -377,6 +377,7 @@ int cert_stuff(struct connectdata *conn, failf(data, "could not parse PKCS12 file, check password, OpenSSL error %s", ERR_error_string(ERR_get_error(), NULL) ); + PKCS12_free(p12); return 0; } |