Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/provider_test.c: Add OSSL_PROVIDER_unload() to avoid memory leak
Add OSSL_PROVIDER_unload() when OSSL_PROVIDER_add_builtin() fails to avoid memory leak. Fixes: 5442611 ("Add a test for OSSL_LIB_CTX_new_child()") Signed-off-by: Jiasheng Jiang <[email protected]> Reviewed-by: Shane Lontis <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> (Merged from openssl#25109)
- Loading branch information