crypt32: Fix another leak in the tests.

This commit is contained in:
Juan Lang 2007-11-01 07:42:12 -07:00 committed by Alexandre Julliard
parent 9429504c70
commit 373e9f626a
1 changed files with 1 additions and 0 deletions

View File

@ -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++)