Fix memory leak by destroying each item as we are removing them from the menu. Otherwise they don't seem to be freed from memory --- glipper/AppIndicator.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/glipper/AppIndicator.py b/glipper/AppIndicator.py index e3819c4..e6556b0 100644 --- a/glipper/AppIndicator.py +++ b/glipper/AppIndicator.py @@ -69,6 +69,7 @@ class AppIndicator(object): for c in self.menu.get_children(): self.menu.remove(c) + c.destroy() if len(history) == 0: menu_item = gtk.ImageMenuItem(gtk.STOCK_STOP) -- 1.7.8.2