mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
rsaenh/tests: Fix a key leak (Valgrind).
This commit is contained in:
parent
ba7f7046ee
commit
0a46f9b678
@ -662,6 +662,8 @@ static void test_hashes(void)
|
||||
sizeof(signed_ssl3_shamd5_hash));
|
||||
printBytes("got", pbSigValue, len);
|
||||
}
|
||||
result = CryptDestroyKey(hKeyExchangeKey);
|
||||
ok(result, "CryptDestroyKey failed 0x%08x\n", GetLastError());
|
||||
result = CryptDestroyHash(hHash);
|
||||
ok(result, "CryptDestroyHash failed 0x%08x\n", GetLastError());
|
||||
result = CryptReleaseContext(prov, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user