mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Fix memory leak for attribute private documents found by valgrind. * Tests/base/NSXMLNode/namespace.m: Use drain instead of release. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34976 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c608ec1ea4
commit
d2eaeafb2a
4 changed files with 101 additions and 42 deletions
|
@ -178,7 +178,7 @@ int main()
|
|||
PASS_EQUAL(actualXML, expectedXML, "unexpected xml output");
|
||||
testHopeful = NO;
|
||||
|
||||
[arp release];
|
||||
[arp drain];
|
||||
arp = nil;
|
||||
END_SET("NSXMLNode namespace handling")
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue