From: Andreas Monzner Date: Thu, 11 May 2006 12:06:04 +0000 (+0000) Subject: fix memleak X-Git-Tag: 2.6.0~3454 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/174f7b85cec9804931de3d432466e28b0da93fdb?hp=940e359a595bf975b004c4e807090cce12e96dd1 fix memleak --- diff --git a/lib/python/Components/GUIComponent.py b/lib/python/Components/GUIComponent.py index afe95266..c3edaa73 100644 --- a/lib/python/Components/GUIComponent.py +++ b/lib/python/Components/GUIComponent.py @@ -25,7 +25,7 @@ class GUIComponent(object): pass def destroy(self): - pass + self.__dict__.clear() # this works only with normal widgets - if you don't have self.instance, override this. def applySkin(self, desktop):