rpms/gnome-applets/devel mixer-preferences-leak.patch, NONE, 1.1 gnome-applets.spec, 1.245, 1.246

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Thu Sep 27 04:55:20 UTC 2007


Author: mclasen

Update of /cvs/extras/rpms/gnome-applets/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10346

Modified Files:
	gnome-applets.spec 
Added Files:
	mixer-preferences-leak.patch 
Log Message:
Fix a memory leak


mixer-preferences-leak.patch:

--- NEW FILE mixer-preferences-leak.patch ---
diff -up gnome-applets-2.20.0/mixer/preferences.c.leak gnome-applets-2.20.0/mixer/preferences.c
--- gnome-applets-2.20.0/mixer/preferences.c.leak	2007-09-27 00:49:39.000000000 -0400
+++ gnome-applets-2.20.0/mixer/preferences.c	2007-09-27 00:50:50.000000000 -0400
@@ -445,6 +445,8 @@ cb_track_select (GtkTreeSelection *selec
 	}
       }
     }
+    g_list_foreach (lst, (GFunc)gtk_tree_path_free, NULL);
+    g_list_free (lst);
   }
 
   /* add the one just selected and adjust its volume if it's not the only one


Index: gnome-applets.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-applets/devel/gnome-applets.spec,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -r1.245 -r1.246
--- gnome-applets.spec	25 Sep 2007 11:46:16 -0000	1.245
+++ gnome-applets.spec	27 Sep 2007 04:54:44 -0000	1.246
@@ -34,7 +34,7 @@
 Summary:        Small applications for the GNOME panel
 Name:		gnome-applets
 Version:	2.20.0
-Release: 	5%{?dist}
+Release: 	6%{?dist}
 Epoch:          1
 License:	GPLv2+ and GFDL+
 Group:          User Interface/Desktops
@@ -70,6 +70,9 @@
 
 Patch34:        ppp-includes.patch
 
+# fixed in upstream svn
+Patch38:	mixer-preferences-leak.patch
+
 BuildRequires:  glib2-devel >= %{glib2_version}
 BuildRequires:  gtk2-devel >= %{gtk2_version}
 BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
@@ -171,6 +174,7 @@
 %patch35 -p0 -b .mixer-sync
 popd
 %patch36 -p1 -b .gweather-pc
+%patch38 -p1 -b .mixer-preferences-leak
 
 cp gswitchit/gswitchit-applet.png  gswitchit/gswitchit-properties-capplet.png
 
@@ -357,6 +361,9 @@
 %{_libdir}/libgweather.so
 
 %changelog
+* Thu Sep 27 2007 Matthias Clasen <mclasen at redhat.com> - 1:2.20.0-6
+- Fix a memory leak in the mixer preferences
+
 * Tue Sep 25 2007 - Bastien Nocera <bnocera at redhat.com> - 1.2.20.0-5
 - Fix possible crasher in the mixer messages when we receive an
   unhandled message (#302881)




More information about the scm-commits mailing list