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:
rfm 2010-03-05 09:30:18 +00:00
parent ded18f910d
commit 5ca5ff96ef
22 changed files with 133 additions and 108 deletions

View file

@ -442,7 +442,7 @@ static NSURLProtocol *placeholder = nil;
{
if (isa != abstractClass)
{
_NSURLProtocolInternal = NSZoneCalloc(GSObjCZone(self),
_NSURLProtocolInternal = NSZoneCalloc([self zone],
1, sizeof(Internal));
}
}