From: Seth Vidal Date: Wed, 9 Jan 2008 06:50:07 +0000 (-0500) Subject: free up memory in the changelog output used by generating the xml node X-Git-Tag: upstream/0.9.9~169 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f01cbbb028396a72709ea359766195e6bb6530f;p=tools%2Fcreaterepo.git free up memory in the changelog output used by generating the xml node --- diff --git a/createrepo/yumbased.py b/createrepo/yumbased.py index 237e968..cab3c47 100644 --- a/createrepo/yumbased.py +++ b/createrepo/yumbased.py @@ -293,7 +293,9 @@ class CreateRepoPackage(YumLocalPackage): c.newProp('author', utils.utf8String(author)) c.newProp('date', str(ts)) msg += c.serialize() - del c + c.unlinkNode() + c.freeNode() + del c return msg def do_primary_xml_dump(self, basedir, baseurl=None):