VirtualBox

Changeset 45595 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 17, 2013 6:58:33 PM (12 years ago)
Author:
vboxsync
Message:

Main/MediumLock: delete the medium lock list when it is erased

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MediumLock.cpp

    r35368 r45595  
    289289    if (it == mMediumLocks.end())
    290290        return VBOX_E_INVALID_OBJECT_STATE;
     291    MediumLockList *pMediumLockList = it->second;
    291292    mMediumLocks.erase(it);
     293    delete pMediumLockList;
    292294    return S_OK;
    293295}
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