VirtualBox

Ignore:
Timestamp:
Apr 28, 2014 1:57:43 PM (11 years ago)
Author:
vboxsync
Message:

HostDrivers/VBoxNetCfg.cpp: Check for valid pointer in VBoxNetCfgWinReleaseINetCfg().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp

    r48952 r51153  
    144144VBOXNETCFGWIN_DECL(HRESULT) VBoxNetCfgWinReleaseINetCfg(IN INetCfg *pNetCfg, IN BOOL fHasWriteLock)
    145145{
     146    if (!pNetCfg) /* If network config has been released already, just bail out. */
     147        return S_OK;
     148
    146149    HRESULT hr = pNetCfg->Uninitialize();
    147150    if (FAILED(hr))
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