VirtualBox

Changeset 14821 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 30, 2008 1:08:47 AM (16 years ago)
Author:
vboxsync
Message:

GVMMR0.cpp: cleanup bugfix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp

    r14811 r14821  
    768768    /* Validate the VM structure, state and handle. */
    769769    AssertPtrNullReturn(pGVM, false);
    770     AssertPtrNullReturn(!pGVM || pGVM->u32Magic == GVM_MAGIC, false);
     770    AssertReturn(!pGVM || pGVM->u32Magic == GVM_MAGIC, false);
    771771    if (!pGVM)
    772772    {
     
    10051005
    10061006        /* the GVM structure itself. */
    1007         pGVM->u32Magic++;
     1007        pGVM->u32Magic |= UINT32_C(0x80000000);
    10081008        RTMemFree(pGVM);
    10091009    }
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