VirtualBox

Changeset 33796 in vbox


Ignore:
Timestamp:
Nov 5, 2010 4:03:20 PM (14 years ago)
Author:
vboxsync
Message:

Additional check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp

    r33793 r33796  
    783783                    rc = RTStrAAppend(&pszDestAbs, RTPathFilename(pszSourceAbs));
    784784
    785                 RTListInit(pList);
    786                 rc = ctrlCopyDirectoryEntryAppend(pszSourceAbs, pszDestAbs, pList);
    787                 *pcObjects = 1;
    788 
     785                if (RT_SUCCESS(rc))
     786                {
     787                    RTListInit(pList);
     788                    rc = ctrlCopyDirectoryEntryAppend(pszSourceAbs, pszDestAbs, pList);
     789                    *pcObjects = 1;
     790                }
    789791                RTStrFree(pszDestAbs);
    790792            }
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