mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-21 04:32:03 +00:00
Optimisation of memory dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10048 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1d63817661
commit
1803a6d352
2 changed files with 7 additions and 0 deletions
|
@ -417,6 +417,7 @@ NSZoneFromPointer(void *ptr)
|
|||
NSZone *zone;
|
||||
|
||||
if (ptr == 0) return 0;
|
||||
if (zone_list == 0) return 0;
|
||||
|
||||
/*
|
||||
* See if we can find the zone in our list of all zones.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue