Changeset 60389 in vbox for trunk/src/VBox/HostServices/GuestControl/service.cpp
- Timestamp:
- Apr 8, 2016 9:04:44 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestControl/service.cpp
r58132 r60389 1611 1611 else 1612 1612 { 1613 std::auto_ptr<Service> apService;1613 Service *apService = NULL; 1614 1614 /* No exceptions may propagate outside. */ 1615 1615 try { 1616 apService = std::auto_ptr<Service>(new Service(pTable->pHelpers));1616 apService = new Service(pTable->pHelpers); 1617 1617 } catch (int rcThrown) { 1618 1618 rc = rcThrown; … … 1640 1640 1641 1641 /* Service specific initialization. */ 1642 pTable->pvService = apService .release();1642 pTable->pvService = apService; 1643 1643 } 1644 1644 }
Note:
See TracChangeset
for help on using the changeset viewer.