From 06b19b018a28f7a9437995eb3e3fee8f4f614173 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Thu, 4 Jan 2007 18:22:19 +0000 Subject: [PATCH] wininet: Fix the releasing of the wrong reference count in HTTP_CloseHTTPRequestHandle. lpwhr obviously already has a reference count of 0 because it is being destroyed. --- dlls/wininet/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index b98a3df1d5d..438a284e722 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -3013,7 +3013,7 @@ static void HTTP_CloseHTTPRequestHandle(LPWININETHANDLEHEADER hdr) TRACE("\n"); - WININET_Release(&lpwhr->hdr); + WININET_Release(&lpwhr->lpHttpSession->hdr); HTTP_CloseConnection(lpwhr); -- 2.11.4.GIT