Commit 61026929 authored by Fedor Indutny's avatar Fedor Indutny Committed by Ben Noordhuis
Browse files

crypto: fix memory leak in LoadPKCS12

X509_STORE_add_cert increment reference of passed `x509` cert,
`X509_free` must be called to avoid memory leak.

This is a back-port of commit c1db1ecd from the master branch.
parent 8a65df9b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment