Juan Lang : crypt32: Fix another leak in the tests.
Alexandre Julliard
julliard at winehq.org
Fri Nov 2 08:10:17 CDT 2007
Module: wine
Branch: master
Commit: 373e9f626ae79ee4cb6c2013a58198b8941eddbc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=373e9f626ae79ee4cb6c2013a58198b8941eddbc
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu Nov 1 07:42:12 2007 -0700
crypt32: Fix another leak in the tests.
---
dlls/crypt32/tests/chain.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/tests/chain.c b/dlls/crypt32/tests/chain.c
index 9d6950d..0257c3e 100644
--- a/dlls/crypt32/tests/chain.c
+++ b/dlls/crypt32/tests/chain.c
@@ -1833,6 +1833,7 @@ static void testVerifyCertChainPolicy(void)
"Expected both indexes 0, got %d, %d\n", policyStatus.lChainIndex,
policyStatus.lElementIndex);
CertFreeCertificateChain(chain);
+ CertFreeCertificateContext(cert);
for (i = 0;
i < sizeof(basePolicyCheck) / sizeof(basePolicyCheck[0]); i++)
More information about the wine-cvs
mailing list