tls_provider_init(): Fix leaks in error cases
authorTomas Mraz <tomas@openssl.org>
Thu, 11 Apr 2024 08:05:04 +0000 (10:05 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 10 May 2024 11:51:55 +0000 (13:51 +0200)
commit2a5d733e64f009f758163da852f1e7fee6aea0a2
treed6149a2285ef8db187f1a3ba5104b14c370ccf7c
parent4a5088259e78127354f497931568de409ac905fc
tls_provider_init(): Fix leaks in error cases

Fixes #24101

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24103)
test/tls-provider.c