[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SRM] Upload of xpenguins-applet?



Hi stable release masters,

I would like to upload a fixed package for xpenguins-applet to address
#442284 and #364590, which causes the gnome-panel to freeze (and might
crash it completly).

The fix is a one liner and has been tested to work, you'll find it
attached.

Thanks for considering,
  Alexander
diff -u xpenguins-applet-2.1.1/debian/control xpenguins-applet-2.1.1/debian/control
--- xpenguins-applet-2.1.1/debian/control
+++ xpenguins-applet-2.1.1/debian/control
@@ -1,8 +1,7 @@
 Source: xpenguins-applet
 Section: gnome
 Priority: optional
-Maintainer: Jose Carlos Medeiros <debian@psabs.com.br>
-Uploaders: Ola Lundqvist <opal@debian.org>
+Maintainer: Alexander Schmehl <tolimar@debian.org>
 Build-Depends: debhelper (>= 4.2.13), autotools-dev (>= 20020905.1), intltool (>= 0.21), libgnomeui-dev (>= 2.2.0), libpanel-applet2-dev (>= 2.2.0), libgconf2-dev (>= 1.1.11), scrollkeeper (>= 0.3.8), libx11-dev, libxext-dev, libxpm-dev, libxt-dev, x-dev, xutils
 Standards-Version: 3.7.2
 
diff -u xpenguins-applet-2.1.1/debian/changelog xpenguins-applet-2.1.1/debian/changelog
--- xpenguins-applet-2.1.1/debian/changelog
+++ xpenguins-applet-2.1.1/debian/changelog
@@ -1,3 +1,11 @@
+xpenguins-applet (2.1.1-3.1etch1) stable-proposed-updates; urgency=low
+
+  * Fixed src/applet_main.c to avoid double free,
+    thanks to Tim Retout for the patch (Closes: #442284, #364590)
+  * Set correct maintainer
+
+ -- Alexander Schmehl <tolimar@debian.org>  Sat, 05 Apr 2008 13:17:26 +0200
+
 xpenguins-applet (2.1.1-3.1) unstable; urgency=low
 
   * Non-maintainer upload
only in patch2:
unchanged:
--- 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);

Attachment: signature.asc
Description: Digital signature


Reply to: