VirtualBox

Changeset 27416 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Mar 16, 2010 4:43:58 PM (15 years ago)
Author:
vboxsync
Message:

IPRT/process-win: Only close token if valid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/process-win.cpp

    r27387 r27416  
    308308                        rc = RTErrConvertFromWin32(GetLastError());
    309309
    310                     if (hToken == INVALID_HANDLE_VALUE)
     310                    if (hToken != INVALID_HANDLE_VALUE)
    311311                        CloseHandle(hToken);
    312312                }
Note: See TracChangeset for help on using the changeset viewer.

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