Skip to content
Commit b3b966fb authored by Jonas Maebe's avatar Jonas Maebe Committed by Kurt Roeckx
Browse files

ssl_cert_dup: Fix memory leak



Always use goto err on failure and call ssl_cert_free() on the error path so all
fields and "ret" itself are freed

Signed-off-by: default avatarKurt Roeckx <kurt@roeckx.be>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent 6c42b39c
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