From 7163ce148a370aa0eb7579078b91a984ac8cce7a Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sat, 21 Feb 2009 21:05:45 +0000 Subject: [PATCH] Fix memory leak in DbManager svn: r12064 --- src/DbManager.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/DbManager.py b/src/DbManager.py index 6585064e8..c355ccddb 100644 --- a/src/DbManager.py +++ b/src/DbManager.py @@ -3,6 +3,7 @@ # # Copyright (C) 2000-2007 Donald N. Allingham # Copyright (C) 2009 Brian G. Matherly +# Copyright (C) 2009 Gary Burton # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -568,10 +569,14 @@ class DbManager(CLIDbManager): continue if node: self.top.destroy() + del self.selection + del self.name_renderer return (store.get_value(node, PATH_COL), store.get_value(node, NAME_COL)) else: self.top.destroy() + del self.selection + del self.name_renderer return None def __ask_to_break_lock(self, store, node):