mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Fix more leaks
This commit is contained in:
parent
0fb9739f21
commit
7cff5fc106
4 changed files with 21 additions and 8 deletions
|
@ -289,7 +289,7 @@ testParseData(NSData *xml, NSString *expect, BOOL strict)
|
|||
if (Nil == c) c = [NSXMLParser class];
|
||||
parser = [[c alloc] initWithData: xml];
|
||||
result = testParser(parser, expect);
|
||||
|
||||
RELEASE(parser);
|
||||
[arp release];
|
||||
return result;
|
||||
}
|
||||
|
@ -315,7 +315,7 @@ testParseStream(NSInputStream *stream, NSString *expect, BOOL strict)
|
|||
if (Nil == c) c = [NSXMLParser class];
|
||||
parser = [[c alloc] initWithStream: stream];
|
||||
result = testParser(parser, expect);
|
||||
|
||||
RELEASE(parser);
|
||||
[arp release];
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue