mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix minor error in last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27631 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6bccff5fc7
commit
41d1c8eb6e
1 changed files with 2 additions and 2 deletions
|
@ -420,7 +420,7 @@ NSZoneFromPointer(void *ptr)
|
|||
NSZone *zone;
|
||||
|
||||
if (ptr == 0) return 0;
|
||||
if (zone_list == 0) return __nszone_private_hidden_default_zone;
|
||||
if (zone_list == 0) return &default_zone;
|
||||
|
||||
/*
|
||||
* See if we can find the zone in our list of all zones.
|
||||
|
@ -434,7 +434,7 @@ NSZoneFromPointer(void *ptr)
|
|||
}
|
||||
}
|
||||
[gnustep_global_lock unlock];
|
||||
return (zone == 0) ? __nszone_private_hidden_default_zone : zone;
|
||||
return (zone == 0) ? &default_zone : zone;
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
|
Loading…
Reference in a new issue