4333: memory leak in 3.2

svn: r16093
This commit is contained in:
Benny Malengier 2010-10-31 08:55:42 +00:00
parent 1baf7070a3
commit e80a74d72a
2 changed files with 2 additions and 3 deletions

View File

@ -35,6 +35,7 @@ from gen.ggettext import gettext as _
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gobject
import gtk
#-------------------------------------------------------------------------
@ -436,7 +437,6 @@ class EditName(EditSecondary):
data must be saved, and also bug 1892 occurs on reopening of the editor.
"""
# can't use group_over, see Note in gen/lib/name/Name.set_group_as().
print 'cleaning up'
if not self.group_as.obj.get_editable():
self.obj.set_group_as("")
EditSecondary._cleanup_on_exit(self)

View File

@ -117,7 +117,6 @@ class EditSecondary(ManagedWindow.ManagedWindow, DbGUIElement):
self.uistate = None
self.obj = None
self.db = None
if self.callman:
self.callman.database = None
self.callman = None