mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 22:50:43 +00:00
rsaenh/tests: Fix memory leak.
This commit is contained in:
parent
4df042b54b
commit
71b4ac9c71
@ -2355,9 +2355,9 @@ static void test_null_provider(void)
|
||||
CryptDestroyKey(key);
|
||||
result = CryptGetUserKey(prov, AT_KEYEXCHANGE, &key);
|
||||
ok(result, "CryptGetUserKey with AT_KEYEXCHANGE failed: %08x\n", GetLastError());
|
||||
CryptDestroyKey(key);
|
||||
result = CryptGetUserKey(prov, AT_SIGNATURE, &key);
|
||||
ok(!result, "expected CryptGetUserKey to fail\n");
|
||||
CryptDestroyKey(key);
|
||||
CryptReleaseContext(prov, 0);
|
||||
|
||||
CryptAcquireContext(&prov, szContainer, NULL, PROV_RSA_FULL,
|
||||
|
Loading…
Reference in New Issue
Block a user