fix memleak
[enigma2.git] / lib / python / Components / GUIComponent.py
index afe95266aa8f9f5a20b887248df9ccc201b77656..c3edaa737241dbdb11a5623ad1ae5184bb2402e0 100644 (file)
@@ -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):