Index: /trunk/src/VBox/Main/ConsoleImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/ConsoleImpl.cpp	(revision 30299)
+++ /trunk/src/VBox/Main/ConsoleImpl.cpp	(revision 30300)
@@ -7842,5 +7842,5 @@
             {
                 ComPtr<IStorageController> controller;
-                BSTR controllerName;
+                Bstr controllerName;
                 ULONG lInstance;
                 StorageControllerType_T enmController;
@@ -7853,5 +7853,5 @@
                 * so we have to query needed values here and pass them.
                 */
-                rc = atts[i]->COMGETTER(Controller)(&controllerName);
+                rc = atts[i]->COMGETTER(Controller)(controllerName.asOutParam());
                 if (FAILED(rc))
                     throw rc;
