Thanks for the bugreport.

I can reproduce this here, Olivier hinted that something like this:
 === modified file 'softwarecenter/view/channelpane.py'
--- softwarecenter/view/channelpane.py  2010-04-27 14:11:04 +0000
+++ softwarecenter/view/channelpane.py  2010-05-09 22:37:25 +0000
@@ -101,6 +101,9 @@
         if old_model is not None:
             old_model.active = False
             self.app_view.set_model(None)
+            print "clear"
+            old_model.clear()
+            del old_model
         gobject.idle_add(self._make_new_model, query, self.refresh_seq_nr)
         return False
 
should fix it (for all the places where we use this contruct). And without the 
"print" ;)

We should also SRU it.

Thanks,
 Michael

-- 
"Provided by Ubuntu" leaks memory
https://bugs.launchpad.net/bugs/577540
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to