Changeset 60640 in vbox
- Timestamp:
- Apr 22, 2016 7:46:02 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106802
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r60622 r60640 3452 3452 if (RT_SUCCESS(vrc)) 3453 3453 { 3454 /* Return guest session to the caller. */3455 hr = pProcess.queryInterfaceTo( aGuestProcess.asOutParam());3454 ComPtr<IGuestProcess> pIProcess; 3455 hr = pProcess.queryInterfaceTo(pIProcess.asOutParam()); 3456 3456 if (SUCCEEDED(hr)) 3457 3457 { … … 3462 3462 if (RT_SUCCESS(vrc)) 3463 3463 { 3464 aGuestProcess = pIProcess; 3465 3464 3466 LogFlowFuncLeaveRC(vrc); 3465 3467 return S_OK; … … 3467 3469 3468 3470 hr = setErrorVrc(vrc, tr("Failed to start guest process: %Rrc"), vrc); 3469 /** @todo r=bird: What happens to the interface that *aGuestProcess points to3470 * now? Looks like a leak or an undocument hack of sorts... */3471 3471 } 3472 3472 }
Note:
See TracChangeset
for help on using the changeset viewer.