VirtualBox

Changeset 4901 in vbox


Ignore:
Timestamp:
Sep 19, 2007 1:29:27 PM (17 years ago)
Author:
vboxsync
Message:

don't kill the heap, it'll be taken care of in VMR3Create if we fail.

File:
1 edited

Legend:

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

    r4768 r4901  
    168168            if (VBOX_SUCCESS(rc))
    169169                return rc;
     170
     171            /* .... failure .... */
    170172        }
    171 
    172         /* .... failure .... */
    173         mmR3Term(pVM, true /* keep the heap */);
    174     }
    175     else
    176         mmr3HeapDestroy(pVM->mm.s.pHeap);
     173    }
     174    mmR3Term(pVM, true /* keep the heap */);
    177175    return rc;
    178176}
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