VirtualBox

Changeset 5517 in vbox


Ignore:
Timestamp:
Oct 26, 2007 3:40:47 PM (17 years ago)
Author:
vboxsync
Message:

fixed assertions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CFGM.cpp

    r4507 r5517  
    771771    RTUUID Uuid;
    772772    RTUuidClear(&Uuid);
    773     rc = CFGMR3InsertBytes(pCfg,    "UUID", &Uuid, sizeof(Uuid));                   
     773    rc = CFGMR3InsertBytes(pCfg,    "UUID", &Uuid, sizeof(Uuid));
    774774    UPDATERC();
    775775    /* Bios logo. */
     
    10781078    if (RT_SUCCESS(rc))
    10791079    {
    1080         Assert(pNewChild->pFirstChild);
     1080        Assert(!pNewChild->pFirstChild);
    10811081        pNewChild->pFirstChild = pSubTree->pFirstChild;
    1082         Assert(pNewChild->pFirstLeaf);
     1082        Assert(!pNewChild->pFirstLeaf);
    10831083        pNewChild->pFirstLeaf = pSubTree->pFirstLeaf;
    10841084        if (ppChild)
     
    13861386            if (pNode->pParent)
    13871387                pNode->pParent->pFirstChild = pNode->pNext;
    1388             else if (pNode == pNode->pVM->cfgm.s.pRoot)
     1388            else if (pNode == pNode->pVM->cfgm.s.pRoot) /* might be a different tree */
    13891389                pNode->pVM->cfgm.s.pRoot = NULL;
    13901390        }
     
    14001400        pNode->pParent = NULL;
    14011401        MMR3HeapFree(pNode);
    1402 
    14031402    }
    14041403}
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