mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
further cleanup ... always use -zone method to get an object's zone ...
so people can safely write subclasses using different allocation schemes. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29847 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ded18f910d
commit
5ca5ff96ef
22 changed files with 133 additions and 108 deletions
|
@ -442,7 +442,7 @@ static NSURLProtocol *placeholder = nil;
|
|||
{
|
||||
if (isa != abstractClass)
|
||||
{
|
||||
_NSURLProtocolInternal = NSZoneCalloc(GSObjCZone(self),
|
||||
_NSURLProtocolInternal = NSZoneCalloc([self zone],
|
||||
1, sizeof(Internal));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue