Commit 373e9f62 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Fix another leak in the tests.

parent 9429504c
......@@ -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++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment