Commit 1fdeda4c authored by Matt Caswell's avatar Matt Caswell
Browse files

Don't leak on an OPENSSL_realloc() failure



If OPENSSL_sk_insert() calls OPENSSL_realloc() and it fails, it was leaking
the originally allocated memory.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(cherry picked from commit 41bff723)
parent 6915f39e
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