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:
Sven Baars 2019-02-09 20:18:13 +01:00 committed by Alexandre Julliard
parent 4cd78c3507
commit 3f05534ca8
1 changed files with 3 additions and 0 deletions

View File

@ -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);