Commit fc8bf3c3 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

crypt32/tests: Fix some leaks (Valgrind).

parent 71d5e6f4
......@@ -797,7 +797,7 @@ static void testLinkCert(void)
ok(link->pCertInfo == context->pCertInfo, "unexpected pCertInfo\n");
CertFreeCertificateContext(link);
CertFreeCertificateContext(context);
CertCloseStore(store, 0);
}
......@@ -2343,6 +2343,7 @@ static void testCreateSelfSignCert(void)
"Expected NTE_NO_KEY, got %08x\n", GetLastError());
ret = CryptGenKey(csp, AT_KEYEXCHANGE, 0, &key);
ok(ret, "CryptGenKey failed: %08x\n", GetLastError());
CryptDestroyKey(key);
memset(&info,0,sizeof(info));
info.dwProvType = PROV_RSA_FULL;
......
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