Index: /trunk/src/VBox/Main/idl/VirtualBox.xidl
===================================================================
--- /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 73166)
+++ /trunk/src/VBox/Main/idl/VirtualBox.xidl	(revision 73167)
@@ -24910,7 +24910,7 @@
       <desc>
         Creates a cloud operation object for the passed profile
-	if profile name is NULL or empty string creates operation for the active profile.
-	if profile name is NULL or empty string and there is not the active profile 
-	returns "VERR_INVALID_PARAMETER"
+        if profile name is NULL or empty string creates operation for the active profile.
+        if profile name is NULL or empty string and there is not the active profile 
+        returns "VERR_INVALID_PARAMETER"
       </desc>
       <param name="profileName" type="wstring" dir="in">
@@ -24926,6 +24926,6 @@
       <param name="opId" type="uuid" mod="string" dir="return">
         <desc>
-	  UUID of the operation.
-	  It's used later when user chooses and runs this cloud operation
+          UUID of the operation.
+          It's used later when user chooses and runs this cloud operation
 	</desc>
       </param>
@@ -24938,5 +24938,5 @@
       <param name="opId" type="uuid" mod="string" dir="in">
         <desc>
-	  UUID of the operation.
+          UUID of the operation.
 	</desc>
       </param>
@@ -24954,5 +24954,5 @@
       <param name="opId" type="uuid" mod="string" dir="in">
         <desc>
-	  UUID of the operation.
+          UUID of the operation.
 	</desc>
       </param>
@@ -25026,5 +25026,5 @@
       <param name="opId" type="uuid" mod="string" dir="in">
         <desc>
-	  UUID of the operation.
+          UUID of the operation.
 	</desc>
       </param>
Index: /trunk/src/VBox/Main/src-server/CloudClientImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/CloudClientImpl.cpp	(revision 73166)
+++ /trunk/src/VBox/Main/src-server/CloudClientImpl.cpp	(revision 73167)
@@ -155,5 +155,5 @@
         hrc = arc;
         LogRel(("Get cought an exception %d\n", hrc));
-    } 
+    }
     catch (std::bad_alloc)
     {
@@ -173,8 +173,5 @@
     LogRel(("CloudClient::getOperationParameters: %d, %s\n", aCloudOperation, aJsonString.c_str()));
     HRESULT hrc = VERR_NOT_IMPLEMENTED;
-    /*
-     
-    createCloudAPI
-    */
+
     return hrc;
 }
Index: /trunk/src/VBox/Main/src-server/CloudUserProfileListImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/CloudUserProfileListImpl.cpp	(revision 73166)
+++ /trunk/src/VBox/Main/src-server/CloudUserProfileListImpl.cpp	(revision 73167)
@@ -42,5 +42,5 @@
 }
 
-SimpleConfigFile::~SimpleConfigFile() 
+SimpleConfigFile::~SimpleConfigFile()
 {
     LogRel(("SimpleConfigFile::~SimpleConfigFile()\n"));
@@ -367,8 +367,11 @@
     if (SUCCEEDED(hrc))
     {
+        ComObjPtr<CloudClientOCI> ptrCloudClientOCI;
+        hrc = ptrCloudClientOCI.createObject();
         AutoReadLock wlock(this COMMA_LOCKVAL_SRC_POS);
-        hrc = ptrCloudClient->initCloudClient(this, mParent, providerId, aProfileName);
+        hrc = ptrCloudClientOCI->initCloudClient(this, mParent, providerId, aProfileName);
         if (SUCCEEDED(hrc))
         {
+            ptrCloudClient = ptrCloudClientOCI;
             hrc = ptrCloudClient.queryInterfaceTo(aCloudClient.asOutParam());
         }
@@ -430,5 +433,5 @@
 }
 
-HRESULT OCIUserProfileList::updateProfile(const com::Utf8Str &aProfileName, 
+HRESULT OCIUserProfileList::updateProfile(const com::Utf8Str &aProfileName,
                                           const std::vector<com::Utf8Str> &aNames,
                                           const std::vector<com::Utf8Str> &aValues)
Index: /trunk/src/VBox/Main/src-server/CloudUserProfileManagerImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/CloudUserProfileManagerImpl.cpp	(revision 73166)
+++ /trunk/src/VBox/Main/src-server/CloudUserProfileManagerImpl.cpp	(revision 73167)
@@ -104,5 +104,5 @@
 }
 
-HRESULT CloudUserProfileManager::getProfilesByProvider(CloudProviderId_T aProviderType, 
+HRESULT CloudUserProfileManager::getProfilesByProvider(CloudProviderId_T aProviderType,
                                                        ComPtr<ICloudUserProfileList> &aProfiles)
 {
