Skip to content
Commit c45b70f7 authored by Jiasheng Jiang's avatar Jiasheng Jiang Committed by Tomas Mraz
Browse files

test/provider_fallback_test.c: Add OSSL_PROVIDER_unload() to avoid memory leak



Add OSSL_PROVIDER_unload() when test_provider() fails to avoid memory leak.

Fixes: f995e5bd ("TEST: Add provider_fallback_test, to test aspects of
fallback providers")
Signed-off-by: default avatarJiasheng Jiang <jiashengjiangcool@outlook.com>

Reviewed-by: default avatarShane Lontis <shane.lontis@oracle.com>
Reviewed-by: default avatarTomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25108)

(cherry picked from commit 6e8a1031)
parent a85072dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment