[PATCH try2 5/5] wininet: When sending INTERNET_STATUS_HANDLE_CLOSING make sure the freed handle is not yet available.

Misha Koshelev mk144210 at bcm.edu
Sat Aug 18 00:02:17 CDT 2007


This is kind of nitpicky but fixes the FIXME I added in the previous patch. Specifically, on native
in INTERNET_STATUS_HANDLE_CLOSING the handle is already invalid (e.g., a call to InternetQueryDataAvailable
with the appropriate type of handle will fail with ERROR_INVALID_HANDLE), but yet if a new handle
is created at this moment it does not yet adopt the same value as the old one (although later on at least
in subsequent tests it will). This makes us conform to this behavior.
---
 dlls/wininet/internet.c |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7f12f1202e0f8df178b5dbeb7195c1c715532ebd.diff
Type: text/x-patch
Size: 1918 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070818/6c3cf465/7f12f1202e0f8df178b5dbeb7195c1c715532ebd.bin


More information about the wine-patches mailing list