Sven Baars : crypt32/tests: Fix a memory leak (Valgrind).
Alexandre Julliard
julliard at winehq.org
Fri Feb 25 14:17:22 CST 2022
Module: wine
Branch: master
Commit: 36378958f72284523cd35eb33d56b7d74ef645e5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=36378958f72284523cd35eb33d56b7d74ef645e5
Author: Sven Baars <sbaars at codeweavers.com>
Date: Fri Feb 18 23:30:33 2022 +0100
crypt32/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sbaars at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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);
More information about the wine-cvs
mailing list