VirtualBox

Changeset 55749 in vbox for trunk/src


Ignore:
Timestamp:
May 8, 2015 9:28:45 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100163
Message:

Main/Snapshot: fix complete breakage of taking snapshots (smart pointer already set to NULL)

File:
1 edited

Legend:

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

    r55728 r55749  
    15551555    bool fBeganTakingSnapshot = false;
    15561556    BOOL fSuspendedBySave     = FALSE;
     1557    Guid snapshotId;
    15571558
    15581559    try
     
    16061607
    16071608        /* create an ID for the snapshot */
    1608         Guid snapshotId;
    16091609        snapshotId.create();
    16101610
     
    17971797
    17981798    if (SUCCEEDED(rc))
    1799         mParent->i_onSnapshotTaken(mData->mUuid,
    1800                                    task.m_pSnapshot->i_getId());
     1799        mParent->i_onSnapshotTaken(mData->mUuid, snapshotId);
    18011800    LogFlowThisFuncLeave();
    18021801}
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