VirtualBox

Ignore:
Timestamp:
Dec 18, 2017 3:17:05 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119784
Message:

IPRT/socket.cpp: Fixed socket even leak (windows + polling).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/socket.cpp

    r70205 r70206  
    558558         */
    559559        WSAEVENT hEvent = pThis->hEvent;
    560         if (hEvent == WSA_INVALID_EVENT)
     560        if (hEvent != WSA_INVALID_EVENT)
    561561        {
    562562            pThis->hEvent = WSA_INVALID_EVENT;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette