VirtualBox

Changeset 28301 in vbox


Ignore:
Timestamp:
Apr 14, 2010 1:03:48 PM (15 years ago)
Author:
vboxsync
Message:

alloc.cpp: oops, switched the #ifdef branches there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/alloc.cpp

    r28298 r28301  
    180180        cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *));
    181181#ifdef RTALLOC_USE_EFENCE
     182    void *pv = rtR3MemAlloc("AllocVar", RTMEMTYPE_RTMEMALLOC, cbUnaligned, cbAligned, ASMReturnAddress(), NULL, 0, NULL);
     183#else
    182184    void *pv = RTMemAlloc(cbAligned);
    183 #else
    184     void *pv = rtR3MemAlloc("AllocVar", RTMEMTYPE_RTMEMALLOC, cbUnaligned, cbAligned, ASMReturnAddress(), NULL, 0, NULL);
    185185#endif
    186186    return pv;
     
    203203        cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *));
    204204#ifdef RTALLOC_USE_EFENCE
     205    void *pv = rtR3MemAlloc("AllocZVar", RTMEMTYPE_RTMEMALLOCZ, cbUnaligned, cbAligned, ASMReturnAddress(), NULL, 0, NULL);
     206#else
    205207    void *pv = RTMemAllocZ(cbAligned);
    206 #else
    207     void *pv = rtR3MemAlloc("AllocZVar", RTMEMTYPE_RTMEMALLOCZ, cbUnaligned, cbAligned, ASMReturnAddress(), NULL, 0, NULL);
    208208#endif
    209209    return pv;
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