VirtualBox

Changeset 48969 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Oct 8, 2013 10:53:53 AM (11 years ago)
Author:
vboxsync
Message:

Main/EmulatedUSB: update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/EmulatedUSBImpl.cpp

    r48631 r48969  
    126126        CFGMR3InsertString(pConfig, it->first.c_str(), it->second.c_str());
    127127
     128    /* pInstance will be used by PDM and deallocated on error. */
    128129    int rc = PDMR3UsbCreateEmulatedDevice(pUVM, "Webcam", pInstance, &pThis->mUuid);
    129130    LogRelFlowFunc(("PDMR3UsbCreateEmulatedDevice %Rrc\n", rc));
    130     if (RT_FAILURE(rc) && pInstance)
    131         CFGMR3RemoveNode(pInstance);
    132131    return rc;
    133132}
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