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

@ -190,7 +190,7 @@ typedef struct
o->_NSURLConnectionInternal
= NSAllocateCollectable(sizeof(Internal), NSScannedOption);
#else
o->_NSURLConnectionInternal = NSZoneCalloc(GSObjCZone(self),
o->_NSURLConnectionInternal = NSZoneCalloc([self zone],
1, sizeof(Internal));
#endif
}