mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
apply patch to fix leaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31997 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
85139364d2
commit
8574a1d8de
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-02-03 Philippe Roussel <p.o.roussel@free.fr>
|
||||
|
||||
* Source/NSPropertyList.m: Fix memory leaks.
|
||||
|
||||
2011-02-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSNetServices.h:
|
||||
|
|
|
@ -312,6 +312,7 @@ foundIgnorableWhitespace: (NSString *)string
|
|||
o = [value copy];
|
||||
}
|
||||
ASSIGN(plist, o);
|
||||
[o release];
|
||||
}
|
||||
else if ([elementName isEqualToString: @"integer"])
|
||||
{
|
||||
|
@ -1750,6 +1751,7 @@ XString(NSString* obj, NSMutableData *output)
|
|||
}
|
||||
NSZoneFree(NSDefaultMallocZone(), base);
|
||||
obj = [[NSString alloc] initWithCharacters: map length: len];
|
||||
NSZoneFree(NSDefaultMallocZone(), map);
|
||||
[output appendData: [obj dataUsingEncoding: NSUTF8StringEncoding]];
|
||||
RELEASE(obj);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue