mirror of
https://github.com/curl/curl.git
synced 2026-08-26 08:53:32 +03:00
Andre Guibert de Bruet fixed a memory leak when PKCS #12 parsing failed
This commit is contained in:
parent
a9d49769ff
commit
96c093f27c
3 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue