mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
|
@ -1115,7 +1115,7 @@ static unsigned urlAlign;
|
|||
if (_data != 0)
|
||||
{
|
||||
DESTROY(myData->absolute);
|
||||
NSZoneFree(GSObjCZone(self), _data);
|
||||
NSZoneFree([self zone], _data);
|
||||
_data = 0;
|
||||
}
|
||||
DESTROY(_urlString);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue