VirtualBox

Changeset 108738 in vbox


Ignore:
Timestamp:
Mar 25, 2025 1:29:27 PM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168163
Message:

Main/MachineImplMoveVM: Correct two locations in
MachineMoveVM::i_MoveVMThreadTask() which accidentally check the wrong
return value.

File:
1 edited

Legend:

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

    r108603 r108738  
    814814            /* Create a full path */
    815815            Bstr bstrMachineName;
    816             machine->COMGETTER(Name)(bstrMachineName.asOutParam());
     816            hrc = machine->COMGETTER(Name)(bstrMachineName.asOutParam());
    817817            if (FAILED(hrc))
    818818                throw hrc;
     
    822822            Utf8Str strSettingsFilePath;
    823823            Bstr bstr_settingsFilePath;
    824             machine->COMGETTER(SettingsFilePath)(bstr_settingsFilePath.asOutParam());
     824            hrc = machine->COMGETTER(SettingsFilePath)(bstr_settingsFilePath.asOutParam());
    825825            if (FAILED(hrc))
    826826                throw hrc;
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