mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
garbage collection fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27578 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2c9683175f
commit
d304d9ee34
65 changed files with 707 additions and 214 deletions
|
@ -2604,9 +2604,8 @@ substring_c(GSStr self, NSRange aRange)
|
|||
o->_count = aRange.length;
|
||||
o->_flags.wide = 0;
|
||||
o->_flags.free = 0;
|
||||
ASSIGN(o->_parent, self);
|
||||
AUTORELEASE((id)o);
|
||||
return (id)o;
|
||||
ASSIGN(o->_parent, (id)self);
|
||||
return AUTORELEASE((id)o);
|
||||
}
|
||||
|
||||
static inline NSString*
|
||||
|
@ -2624,9 +2623,8 @@ substring_u(GSStr self, NSRange aRange)
|
|||
o->_count = aRange.length;
|
||||
o->_flags.wide = 1;
|
||||
o->_flags.free = 0;
|
||||
ASSIGN(o->_parent, self);
|
||||
AUTORELEASE((id)o);
|
||||
return (id)o;
|
||||
ASSIGN(o->_parent, (id)self);
|
||||
return AUTORELEASE((id)o);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue