crypt32: Fix a leak in the tests.
This commit is contained in:
parent
aac8194c74
commit
9429504c70
|
@ -2786,6 +2786,7 @@ static void testAcquireCertPrivateKey(void)
|
|||
&keyContext, &size);
|
||||
ok(ret, "CertGetCertificateContextProperty failed: %08x\n",
|
||||
GetLastError());
|
||||
CryptReleaseContext(certCSP, 0);
|
||||
|
||||
CryptDestroyKey(key);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue