Changeset f2d0eb in git


Ignore:
Timestamp:
Sep 13, 2017, 5:34:26 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
61ed0b79e82007a738643177ae70734b631b2477
Parents:
6932bc7f98e394d56f60843c8b3372bd4c4e4b46
Message:
opt: omAllocFromSystem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/omAllocSystem.c

    r6932bc rf2d0eb  
    197197    }
    198198  }
    199 
     199#if defined(HAVE_MALLOC_SIZE) || defined(HAVE_MALLOC_USABLE_SIZE)
     200  size=_omSizeOfLargeAddr(ptr);
     201#else
    200202  size=omSizeOfAddr(ptr);
     203#endif
    201204#ifndef OM_NDEBUG
    202205  if (((unsigned long) ptr) + size > om_MaxAddr)
Note: See TracChangeset for help on using the changeset viewer.