Commit 0a46f9b6 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

rsaenh/tests: Fix a key leak (Valgrind).

parent ba7f7046
......@@ -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);
......
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