VirtualBox

Changeset 48428 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 11, 2013 1:07:23 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Medium-enumeration mechanism: Make sure medium-enumerator is already created before calling for enumeration (foolproof protection).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r48314 r48428  
    18151815    /* Make sure VBoxGlobal is already valid: */
    18161816    AssertReturnVoid(mValid);
     1817
     1818    /* Make sure medium-enumerator is already created: */
     1819    if (!m_pMediumEnumerator)
     1820        return;
    18171821
    18181822    /* Make sure enumeration is not already started: */
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