Commit 3f05534c authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

wininet/tests: Fix some memory leaks (Valgrind).

parent 4cd78c35
......@@ -5813,6 +5813,9 @@ static void test_security_flags(void)
ok(!cert->lpszEncryptionAlgName, "unexpected encryption algorithm name\n");
ok(!cert->lpszProtocolName, "unexpected protocol name\n");
ok(cert->dwKeySize != 0xdeadbeef, "unexpected key size\n");
LocalFree(cert->lpszSubjectInfo);
LocalFree(cert->lpszIssuerInfo);
}
HeapFree(GetProcessHeap(), 0, 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