Avoid a double-free in an error path.
Avoid a double-free in an error path.

Signed-off-by: Kurt Roeckx <bb87b47479d83cec3c76132206933257ded727b2@roeckx.be>
Reviewed-by: Matt Caswell <1fa2ef4755a9226cb9a0a4840bd89b158ac71391@openssl.org>

openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl,openssl/openssl