Commit f1e11804 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

bcrypt/tests: Fix a key handle leak.

parent 1b37ac14
......@@ -2603,6 +2603,9 @@ static void test_DSA(void)
ok(!memcmp(dssKey, buf, size), "wrong data\n");
HeapFree(GetProcessHeap(), 0, buf);
ret = pBCryptDestroyKey(key);
ok(!ret, "got %08x\n", ret);
ret = pBCryptCloseAlgorithmProvider(alg, 0);
ok(!ret, "got %08x\n", ret);
}
......
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