GNOME Bugzilla – Bug 129855
Patch for a massive X resource leak
Last modified: 2004-12-22 21:47:04 UTC
I recently discovered that my X process' memory usage was about ~2 gigs after ~10 days of usage. So something just had to leak resources ;). Using xrestop I discovered that gnome-panel was the leaking process. Today, I spent a few hours trying to track this leak down; the attached patch seems to fix it for me. gnome-panel's resource usage now stays steady at about 2 megs here, instead of continously growing :). Upped the severity to major; since I find this a pretty cricital leak.
Created attachment 22649 [details] [review] patch.
Ouch. Thanks Kris. Looks good for gnome-2-4 and HEAD branches.
I don't figure Kris will forget this, but just in case adding keywords.
Committed to HEAD: 2004-01-27 Mark McLoughlin <mark@skynet.ie> Fix for bug #129855 from Kristian Rietveld. * panel-background.c: (free_prepared_resources): Free background pixmap when we have a translucent colour background.
Any reason not to commit this to gnome-2-4?
Because I'm not expecting to do another 2.4 release ...