VirtualBox

Ignore:
Timestamp:
Aug 5, 2013 10:00:02 AM (11 years ago)
Author:
vboxsync
Message:

HostDrivers/Support: Introduce reference counting for the session object to keep it alive while there is someone accessing it, fixes R0 assertion on OS X when killing the VM process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r46374 r47537  
    550550    Log(("VBoxDrvLinuxClose: pFilp=%p pSession=%p pid=%d/%d %s\n",
    551551         pFilp, pFilp->private_data, RTProcSelf(), current->pid, current->comm));
    552     supdrvCloseSession(&g_DevExt, (PSUPDRVSESSION)pFilp->private_data);
     552    supdrvSessionRelease((PSUPDRVSESSION)pFilp->private_data);
    553553    pFilp->private_data = NULL;
    554554    return 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette