Module: wine Branch: master Commit: 2786df23732ccbf6470597b4b3c2b76d820dc977 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2786df23732ccbf6470597b4b3...
Author: Hans Leidekker hans@codeweavers.com Date: Tue Feb 21 09:24:38 2017 +0100
winhttp/tests: Fix two memory leaks.
Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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);