mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix for memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35242 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7bef14a326
commit
caf8cfcec2
2 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,11 @@
|
|||
2012-06-27 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSScanner.m: Fix missing 'else' which was causing a
|
||||
memory leak and minor performance degradation.
|
||||
|
||||
2012-06-12 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* NSPropertyList.m: Check for nil property list argument.
|
||||
* Source/NSPropertyList.m: Check for nil property list argument.
|
||||
|
||||
2012-06-07 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
|
|
|
@ -205,7 +205,7 @@ typedef GSString *ivars;
|
|||
{
|
||||
_string = [_holder initWithString: aString];
|
||||
}
|
||||
if (GSObjCIsKindOf(c, GSUnicodeStringClass) == YES)
|
||||
else if (GSObjCIsKindOf(c, GSUnicodeStringClass) == YES)
|
||||
{
|
||||
_string = RETAIN(aString);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue