Comment 14 for bug 740258

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 740258] Re: Pixmap memory leak in gtk-window-decorator

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
<email address hidden> 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     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury