mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-03 10:00:51 +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
c41bdeb638
commit
d9312191e7
1 changed files with 2 additions and 2 deletions
|
@ -420,7 +420,7 @@ NSZoneFromPointer(void *ptr)
|
||||||
NSZone *zone;
|
NSZone *zone;
|
||||||
|
|
||||||
if (ptr == 0) return 0;
|
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.
|
* See if we can find the zone in our list of all zones.
|
||||||
|
@ -434,7 +434,7 @@ NSZoneFromPointer(void *ptr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[gnustep_global_lock unlock];
|
[gnustep_global_lock unlock];
|
||||||
return (zone == 0) ? __nszone_private_hidden_default_zone : zone;
|
return (zone == 0) ? &default_zone : zone;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue