I fixed this one in lp:~lievenvanderheide/compiz/PixmapLeakFix. The
problem seemed to be that the author assumed GdkPixmap's was reference
counted like a GtkObject (ie, initially a floating reference, which must
be ref'ed to become a real reference). GdkPixmap doesn't derive from
GtkObject though, and so uses GObject reference counting, which means it
has an initial ref count of 1. I removed the two g_object_ref lines from
switcher.c, which seems to fix the leaks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/740258

Title:
  Pixmap memory leak in gtk-window-decorator

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/740258/+subscriptions

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

Reply via email to