wininet/tests: Fix some memory leaks (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4cd78c3507
commit
3f05534ca8
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue