tags 442284 patch
kthxbye

Hi Alexander,

This patch should fix the double free.

--- xpenguins-applet-2.1.1.orig/src/applet_main.c
+++ xpenguins-applet-2.1.1/src/applet_main.c
@@ -326,7 +326,7 @@
     pixbuf1 = gdk_pixbuf_new_from_xpm_data ((const gchar**) xpm);
     pixbuf2 = gdk_pixbuf_scale_simple (
         pixbuf1, pix_width, pix_height, GDK_INTERP_NEAREST);
-    g_free (pixbuf1);
+    g_object_unref (pixbuf1);
     *pixmap = gtk_image_new_from_pixbuf (pixbuf2);
 
     gtk_container_add (GTK_CONTAINER (*button), *pixmap);

Thanks,

-- 
Tim Retout <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to