Indeed that was the case, I found that too when I was working on
rewriting the decorator anyways.

Thanks for the patch, the fix will be applied in oneiric.

On Sun, Aug 14, 2011 at 11:08 PM, Lieven van der Heide
<lievenvanderhe...@gmail.com> wrote:
> 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 compiz
> packagers, which is subscribed to compiz in 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : com...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Sam Spilsbury

-- 
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