mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue