Pass the address of the handle rather than just the handle to fix a

crash with IE.
This commit is contained in:
Robert Shearman 2004-11-19 17:54:48 +00:00 committed by Alexandre Julliard
parent 5102cb53af
commit b1e361a93e
1 changed files with 2 additions and 2 deletions

View File

@ -997,8 +997,8 @@ BOOL WINAPI InternetCloseHandle(HINTERNET hInternet)
}
SendAsyncCallback(lpwh, lpwh->dwContext,
INTERNET_STATUS_HANDLE_CLOSING, hInternet,
sizeof(HINTERNET));
INTERNET_STATUS_HANDLE_CLOSING, &hInternet,
sizeof(HINTERNET*));
if( lpwh->lpwhparent )
WININET_Release( lpwh->lpwhparent );