VirtualBox

Changeset 79263 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 20, 2019 8:34:08 PM (6 years ago)
Author:
vboxsync
Message:

Main/VMMDevInterface.cpp: Don't crash in VMMDev::hgcmShutdown if it's called after a very early vm creation failure, like if the config constructor fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/VMMDevInterface.cpp

    r78915 r79263  
    736736{
    737737#ifdef VBOX_WITH_GUEST_PROPS
    738     if (mpDrv->hHgcmSvcExtGstProps)
     738    if (mpDrv && mpDrv->hHgcmSvcExtGstProps)
    739739    {
    740740        HGCMHostUnregisterServiceExtension(mpDrv->hHgcmSvcExtGstProps);
     
    744744
    745745#ifdef VBOX_WITH_GUEST_CONTROL
    746     if (mpDrv->hHgcmSvcExtGstCtrl)
     746    if (mpDrv && mpDrv->hHgcmSvcExtGstCtrl)
    747747    {
    748748        HGCMHostUnregisterServiceExtension(mpDrv->hHgcmSvcExtGstCtrl);
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