VirtualBox

Ignore:
Timestamp:
Feb 22, 2017 11:47:51 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113608
Message:

HostDrivers/VBoxUSB/Solaris: Call RTR0Term() if querying the symbols failed or we end up with a very unpleasant assertion when unloading the host driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/solaris/VBoxUSB-solaris.c

    r62490 r65840  
    510510        rc = vboxUsbSolarisQuerySymbols();
    511511        if (RT_FAILURE(rc))
     512        {
     513            RTR0Term();
    512514            return EINVAL;
     515        }
    513516
    514517        rc = ddi_soft_state_init(&g_pVBoxUSBSolarisState, sizeof(vboxusb_state_t), 4 /* pre-alloc */);
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