fixed a rather large memory leak

This commit is contained in:
Nathan Fritz
2010-05-12 13:45:36 -07:00
parent 8515cef117
commit 223507f36f
6 changed files with 53 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ class Error(ElementBase):
self['type'] = 'cancel'
self['condition'] = 'feature-not-implemented'
if self.parent is not None:
self.parent['type'] = 'error'
self.parent()['type'] = 'error'
def getCondition(self):
for child in self.xml.getchildren():