Module: wine Branch: master Commit: 373e9f626ae79ee4cb6c2013a58198b8941eddbc URL: http://source.winehq.org/git/wine.git/?a=commit;h=373e9f626ae79ee4cb6c2013a5...
Author: Juan Lang juan.lang@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++)