Sven Baars : crypt32/tests: Fix a memory leak (Valgrind).
Module: wine Branch: master Commit: 36378958f72284523cd35eb33d56b7d74ef645e5 URL: https://source.winehq.org/git/wine.git/?a=commit;h=36378958f72284523cd35eb33... Author: Sven Baars <sbaars(a)codeweavers.com> Date: Fri Feb 18 23:30:33 2022 +0100 crypt32/tests: Fix a memory leak (Valgrind). Signed-off-by: Sven Baars <sbaars(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/crypt32/tests/cert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c index 99b9487be46..608d2c8c1b7 100644 --- a/dlls/crypt32/tests/cert.c +++ b/dlls/crypt32/tests/cert.c @@ -4318,6 +4318,7 @@ static void test_VerifySignature(void) BCryptDestroyHash(bhash); done: BCryptCloseAlgorithmProvider(alg, 0); + BCryptDestroyKey(bkey); LocalFree(info); CertFreeCertificateContext(cert);
participants (1)
-
Alexandre Julliard