Changeset 5559 in vbox for trunk/src/VBox/Main
- Timestamp:
- Oct 30, 2007 4:04:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r5390 r5559 390 390 mData->mConfigFileFull = configFileFull; 391 391 392 /* start with accessible */ 392 393 mData->mAccessible = TRUE; 393 394 … … 430 431 mData->mConfigFileFull.raw(), vrc); 431 432 } 433 434 /* reset mAccessible to make sure uninit() called by the AutoInitSpan 435 * destructor will not call uninitDataAndChildObjects() (we haven't 436 * initialized anything yet) */ 437 if (FAILED (rc)) 438 mData->mAccessible = FALSE; 432 439 } 433 440 … … 3661 3668 * disk attachments will already be uninitialized and deleted, so this 3662 3669 * code will not affect them. */ 3663 if ( mType == IsMachine || mType == IsSnapshotMachine)3670 if (!!mHDData && (mType == IsMachine || mType == IsSnapshotMachine)) 3664 3671 { 3665 3672 for (HDData::HDAttachmentList::const_iterator it = … … 3680 3687 3681 3688 /* free data structures (the essential mData structure is not freed here 3682 * since it still may bein use) */3689 * since it may be still in use) */ 3683 3690 mHDData.free(); 3684 3691 mHWData.free();
Note:
See TracChangeset
for help on using the changeset viewer.