diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index 4c3f04a5d9e..9203821206e 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -431,14 +431,17 @@ BOOL WINAPI InternetCloseHandle(HINTERNET hInternet) { case WH_HINIT: INTERNET_CloseHandle((LPWININETAPPINFOA) lpwh); + retval = TRUE; break; case WH_HHTTPSESSION: HTTP_CloseHTTPSessionHandle((LPWININETHTTPSESSIONA) lpwh); + retval = TRUE; break; case WH_HHTTPREQ: HTTP_CloseHTTPRequestHandle((LPWININETHTTPREQA) lpwh); + retval = TRUE; break; case WH_HFTPSESSION: