VirtualBox

Changeset 60640 in vbox


Ignore:
Timestamp:
Apr 22, 2016 7:46:02 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
106802
Message:

Guest Control: src-client/GuestSessionImpl.cpp: Resolved a todo.

File:
1 edited

Legend:

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

    r60622 r60640  
    34523452        if (RT_SUCCESS(vrc))
    34533453        {
    3454             /* Return guest session to the caller. */
    3455             hr = pProcess.queryInterfaceTo(aGuestProcess.asOutParam());
     3454            ComPtr<IGuestProcess> pIProcess;
     3455            hr = pProcess.queryInterfaceTo(pIProcess.asOutParam());
    34563456            if (SUCCEEDED(hr))
    34573457            {
     
    34623462                if (RT_SUCCESS(vrc))
    34633463                {
     3464                    aGuestProcess = pIProcess;
     3465
    34643466                    LogFlowFuncLeaveRC(vrc);
    34653467                    return S_OK;
     
    34673469
    34683470                hr = setErrorVrc(vrc, tr("Failed to start guest process: %Rrc"), vrc);
    3469                 /** @todo r=bird: What happens to the interface that *aGuestProcess points to
    3470                  *        now?  Looks like a leak or an undocument hack of sorts... */
    34713471            }
    34723472        }
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