Commit 9429504c authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Fix a leak in the tests.

parent aac8194c
......@@ -2786,6 +2786,7 @@ static void testAcquireCertPrivateKey(void)
&keyContext, &size);
ok(ret, "CertGetCertificateContextProperty failed: %08x\n",
GetLastError());
CryptReleaseContext(certCSP, 0);
CryptDestroyKey(key);
}
......
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