In my opinion, this bug was introduced with revision 142!
A fix in utils/render.c creates copies of the GdkPixbuf which in turn get free'd only, if the height or width of the area drawn changes. I created a patch for this issue that solved the problem for me (running rev. 186)
In my opinion, this bug was introduced with revision 142!
A fix in utils/render.c creates copies of the GdkPixbuf which in turn get free'd only, if the height or width of the area drawn changes. I created a patch for this issue that solved the problem for me (running rev. 186)
Here is the patch:
--- ../gdesklets/ utils/render. c 2010-05-24 12:56:05.000000000 +0200 image_set_ from_pixbuf (image, scaled);
+++ utils/render.c 2012-01-30 10:56:46.163768331 +0100
@@ -89,7 +89,10 @@
/* set image */
gtk_
+// this condition is causing a memory leak since rev. 142
+/*
if (srcwidth != width || srcheight != height)
+*/
g_object_unref (scaled);
}
Can anyone confirm this?