VirtualBox

Changeset 6478 in vbox for trunk/src/VBox/Runtime/r0drv/nt


Ignore:
Timestamp:
Jan 24, 2008 12:31:11 PM (17 years ago)
Author:
vboxsync
Message:

Drop annoying the cb != sizeof(void *) assertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/alloc-r0drv-nt.cpp

    r5999 r6478  
    4141PRTMEMHDR rtMemAlloc(size_t cb, uint32_t fFlags)
    4242{
    43     Assert(cb != sizeof(void *)); /* 99% of pointer sized allocations are wrong. */
    4443    PRTMEMHDR pHdr = (PRTMEMHDR)ExAllocatePoolWithTag(NonPagedPool, cb + sizeof(*pHdr), IPRT_NT_POOL_TAG);
    4544    if (pHdr)
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