mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20126 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d59b661481
commit
cfe2887dfc
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
2004-09-24 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSArray.m: Make perform methods enumerate forwards.
|
||||
* Source/Additions/GSXML.m: ([nodeAtIndex:]) fix memory leak.
|
||||
|
||||
2004-09-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -3698,8 +3698,8 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
node = xmlXPathNodeSetItem (((xmlXPathObject*)_lib)->nodesetval,
|
||||
(int)index);
|
||||
n = [GSXMLNode alloc];
|
||||
|
||||
return [n _initFrom: node parent: self];
|
||||
n = [n _initFrom: node parent: self];
|
||||
return AUTORELEASE(m);
|
||||
}
|
||||
}
|
||||
- (NSString *) description
|
||||
|
|
Loading…
Reference in a new issue