Index: /trunk/src/VBox/Main/src-server/freebsd/USBProxyBackendFreeBSD.cpp
===================================================================
--- /trunk/src/VBox/Main/src-server/freebsd/USBProxyBackendFreeBSD.cpp	(revision 60605)
+++ /trunk/src/VBox/Main/src-server/freebsd/USBProxyBackendFreeBSD.cpp	(revision 60606)
@@ -60,10 +60,14 @@
  * Initialize data members.
  */
-USBProxyBackendFreeBSD::USBProxyBackendFreeBSD(USBProxyService *aUsbProxyService, const com::Utf8Str &strId)
-    : USBProxyBackend(aUsbProxyService, strId)
-{
-    LogFlowThisFunc(("aUsbProxyService=%p\n", aUsbProxyService));
-}
-
+USBProxyBackendFreeBSD::USBProxyBackendFreeBSD()
+    : USBProxyBackend(), mNotifyEventSem(NIL_RTSEMEVENT)
+{
+    LogFlowThisFunc(("\n"));
+}
+
+USBProxyBackendFreeBSD::~USBProxyBackendFreeBSD()
+{
+    LogFlowThisFunc(("\n"));
+}
 
 /**
@@ -72,5 +76,5 @@
  * @returns S_OK on success and non-fatal failures, some COM error otherwise.
  */
-int USBProxyBackendFreeBSD::init(USBProxyService *pUsbProxyService, const com::Utf8Str &strId, const com::Utf8Str &strAddresss)
+int USBProxyBackendFreeBSD::init(USBProxyService *pUsbProxyService, const com::Utf8Str &strId, const com::Utf8Str &strAddress)
 {
     USBProxyBackend::init(pUsbProxyService, strId, strAddress);
@@ -96,5 +100,5 @@
  * Stop all service threads and free the device chain.
  */
-USBProxyBackendFreeBSD::~USBProxyBackendFreeBSD()
+void USBProxyBackendFreeBSD::uninit()
 {
     LogFlowThisFunc(("\n"));
@@ -108,4 +112,5 @@
     RTSemEventDestroy(mNotifyEventSem);
     mNotifyEventSem = NULL;
+    USBProxyBackend::uninit();
 }
 
@@ -236,8 +241,5 @@
         rc = RTStrAPrintf(&pszDevicePath, "/dev/%s%d.%d", USB_GENERIC_NAME, iBus, iAddr);
         if (RT_FAILURE(rc))
-        {
-            mLastError = rc;
             break;
-        }
 
         LogFlowFunc((": Opening %s\n", pszDevicePath));
@@ -246,8 +248,4 @@
         if (FileUsb < 0)
         {
-            if (   (errno != ENOENT)
-                && (errno != EACCES))
-                mLastError = RTErrConvertFromErrno(errno);
-
             RTStrFree(pszDevicePath);
 
@@ -277,5 +275,4 @@
         {
             LogFlowFunc((": Error querying device info rc=%Rrc\n", RTErrConvertFromErrno(errno)));
-            mLastError = RTErrConvertFromErrno(errno);
             close(FileUsb);
             RTStrFree(pszDevicePath);
@@ -289,5 +286,4 @@
             if (!pDevice)
             {
-                mLastError = VERR_NO_MEMORY;
                 close(FileUsb);
                 RTStrFree(pszDevicePath);
