Pass the address of the handle rather than just the handle to fix a
crash with IE.
This commit is contained in:
parent
5102cb53af
commit
b1e361a93e
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue