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,
|
SendAsyncCallback(lpwh, lpwh->dwContext,
|
||||||
INTERNET_STATUS_HANDLE_CLOSING, hInternet,
|
INTERNET_STATUS_HANDLE_CLOSING, &hInternet,
|
||||||
sizeof(HINTERNET));
|
sizeof(HINTERNET*));
|
||||||
|
|
||||||
if( lpwh->lpwhparent )
|
if( lpwh->lpwhparent )
|
||||||
WININET_Release( lpwh->lpwhparent );
|
WININET_Release( lpwh->lpwhparent );
|
||||||
|
|
Loading…
Reference in New Issue