[PATCH v2 1/5] crypt32/tests: Fix a memory leak (Valgrind).
Sven Baars
sbaars at codeweavers.com
Fri Feb 18 16:30:33 CST 2022
Signed-off-by: Sven Baars <sbaars at codeweavers.com>
---
v2: Remove changes that crashed the tests.
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 b96f94cc662..27685da1512 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);
--
2.30.0.335.ge6362826a0
More information about the wine-devel
mailing list