[3/3] winhttp/tests: Fix two memory leaks.
Hans Leidekker
hans at codeweavers.com
Tue Feb 21 02:24:38 CST 2017
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
dlls/winhttp/tests/winhttp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index f45ecef766..d4406afb6b 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -1060,6 +1060,8 @@ static void test_secure_connection(void)
trace("lpszSignatureAlgName %s\n", wine_dbgstr_w(info.lpszSignatureAlgName));
trace("lpszEncryptionAlgName %s\n", wine_dbgstr_w(info.lpszEncryptionAlgName));
trace("dwKeySize %u\n", info.dwKeySize);
+ LocalFree( info.lpszSubjectInfo );
+ LocalFree( info.lpszIssuerInfo );
}
ret = WinHttpReceiveResponse(req, NULL);
--
2.11.0
More information about the wine-patches
mailing list