fixed a rather large memory leak

This commit is contained in:
Nathan Fritz
2010-05-13 04:45:36 +08:00
committed by Tom Nichols
parent e0c32b6d9b
commit 4c410dd48a
6 changed files with 53 additions and 10 deletions

View File

@@ -31,4 +31,5 @@ class HTMLIM(ElementBase):
return html
def delHtml(self):
return self.__del__()
if self.parent is not None:
self.parent().xml.remove(self.xml)