Commit 06b19b01 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent 272954bd
......@@ -3013,7 +3013,7 @@ static void HTTP_CloseHTTPRequestHandle(LPWININETHANDLEHEADER hdr)
TRACE("\n");
WININET_Release(&lpwhr->hdr);
WININET_Release(&lpwhr->lpHttpSession->hdr);
HTTP_CloseConnection(lpwhr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment