Hans Leidekker : winhttp/tests: Fix two memory leaks.
Alexandre Julliard
julliard at winehq.org
Tue Feb 21 16:56:12 CST 2017
Module: wine
Branch: master
Commit: 2786df23732ccbf6470597b4b3c2b76d820dc977
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2786df23732ccbf6470597b4b3c2b76d820dc977
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Feb 21 09:24:38 2017 +0100
winhttp/tests: Fix two memory leaks.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 f45ecef..d4406af 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);
More information about the wine-cvs
mailing list