Free SSL object on an error path
Free SSL object on an error path

Thanks to @fangang190 for reporting this

Fixes #7061

Reviewed-by: Paul Yang <cad61ddf4788d12607a026a313663800394626e7@baishancloud.com>
(Merged from https://github.com/openssl/openssl/pull/7065)

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