[PATCH] wininet/tests: Fix some memory leaks (Valgrind).
9 Feb
2019
9 Feb
'19
7:18 p.m.
Signed-off-by: Sven Baars <sven.wine(a)gmail.com> --- dlls/wininet/tests/http.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c index 9ec4902cdc..5a0cc11754 100644 --- a/dlls/wininet/tests/http.c +++ b/dlls/wininet/tests/http.c @@ -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); -- 2.17.1
2507
Age (days ago)
2507
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sven Baars