← Back to team overview

compiz team mailing list archive

[Bug 740258] Re: Pixmap memory leak in gtk-window-decorator

 

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


Follow ups

References