Index: /trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp	(revision 49629)
+++ /trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp	(revision 49630)
@@ -1126,4 +1126,10 @@
     if (itProc != mData.mProcesses.end())
     {
+#ifdef DEBUG_andy
+        ULONG cRefs = itProc->second->AddRef();
+        Assert(cRefs >= 2);
+        LogFlowFunc(("pProcess=%p, cRefs=%RU32\n", &itProc->second, cRefs - 1));
+        itProc->second->Release();
+#endif
         ComObjPtr<GuestProcess> pProcess(itProc->second);
         Assert(!pProcess.isNull());
Index: /trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp	(revision 49629)
+++ /trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp	(revision 49630)
@@ -600,5 +600,5 @@
      *       content because we currently *do not* lock down the guest file when doing the
      *       actual operations.
-     ** @todo Implement guest file locking!
+     ** @todo Use the IGuestFile API for locking down the file on the guest!
      */
     GuestFsObjData objData; int guestRc;
