VirtualBox

Changeset 23378 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 28, 2009 1:36:59 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52903
Message:

MachineImpl.cpp: Fixed assertion/crash in discardCurrentStateHandler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r23335 r23378  
    98599859            /* while the hard disk is attached, the number of children or the
    98609860             * parent cannot change, so no lock */
    9861             if (!hd->parent().isNull() && hd->children().size() == 0)
     9861            if (!hd.isNull() && !hd->parent().isNull() && hd->children().size() == 0)
    98629862                diffs.push_back (hd);
    98639863        }
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