Commit 36378958 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

crypt32/tests: Fix a memory leak (Valgrind).

parent d78f234a
...@@ -4318,6 +4318,7 @@ static void test_VerifySignature(void) ...@@ -4318,6 +4318,7 @@ static void test_VerifySignature(void)
BCryptDestroyHash(bhash); BCryptDestroyHash(bhash);
done: done:
BCryptCloseAlgorithmProvider(alg, 0); BCryptCloseAlgorithmProvider(alg, 0);
BCryptDestroyKey(bkey);
LocalFree(info); LocalFree(info);
CertFreeCertificateContext(cert); CertFreeCertificateContext(cert);
......
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