VirtualBox

Ignore:
Timestamp:
Apr 24, 2017 12:31:42 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
115020
Message:

SUPLib-win.cpp/suplibOsTerm: Fixed assertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp

    r66577 r66654  
    646646    if (pThis->hDevice != NULL)
    647647    {
    648         if (!NtClose((HANDLE)pThis->hDevice))
    649             AssertFailed();
     648        NTSTATUS rcNt = NtClose((HANDLE)pThis->hDevice);
     649        Assert(NT_SUCCESS(rcNt));
    650650        pThis->hDevice = NIL_RTFILE; /* yes, that's right */
    651651    }
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