bcrypt/tests: Fix a key handle leak.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1b37ac14a3
commit
f1e11804a0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue