rpms/gnome-session/devel ice-leaks.patch, NONE, 1.1 gnome-session.spec, 1.138, 1.139

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Sep 11 12:59:31 UTC 2007


Author: mclasen

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

Modified Files:
	gnome-session.spec 
Added Files:
	ice-leaks.patch 
Log Message:
fix memory leaks


ice-leaks.patch:

--- NEW FILE ice-leaks.patch ---
diff -up gnome-session-2.19.92/gnome-session/ice.c.ice-leaks gnome-session-2.19.92/gnome-session/ice.c
--- gnome-session-2.19.92/gnome-session/ice.c.ice-leaks	2007-09-11 01:56:57.000000000 -0400
+++ gnome-session-2.19.92/gnome-session/ice.c	2007-09-11 01:57:49.000000000 -0400
@@ -455,10 +455,13 @@ clean_ice (void)
   /* During shutdown we don't want to report errors via a dialog.  */
   write_authfile (authfile, entries, FALSE);
 
+  g_slist_foreach (entries, (GFunc)IceFreeAuthFileEntry, NULL);
   g_slist_free (entries);
 
   g_free (input_id);
   IceFreeListenObjs (num_sockets, sockets);
+
+  g_slist_foreach (auth_entries, (GFunc)IceFreeAuthFileEntry, NULL);
   g_slist_free (auth_entries);
   
   ice_depth = ~0;	/* We are very frozen, like totally off */


Index: gnome-session.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-session/devel/gnome-session.spec,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- gnome-session.spec	5 Sep 2007 17:30:41 -0000	1.138
+++ gnome-session.spec	11 Sep 2007 12:58:58 -0000	1.139
@@ -12,7 +12,7 @@
 Summary: GNOME session manager
 Name: gnome-session
 Version: 2.19.92
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://www.gnome.org
 Source0: http://download.gnome.org/sources/gnome-session/2.19/%{name}-%{version}.tar.bz2
 Source1: redhat-default-session
@@ -57,6 +57,9 @@
 # http://bugzilla.gnome.org/show_bug.cgi?id=411506
 #Patch21: gnome-session-2.17.91-use-gdm-at-hints-3.patch
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=475468
+Patch22: ice-leaks.patch
+
 BuildRequires: esound-devel >= %{esound_version}
 BuildRequires: /usr/bin/esd
 BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
@@ -101,6 +104,7 @@
 %patch13 -p1 -b .window-manager
 %patch20 -p1 -b .timeout
 #%patch21 -p0 -b .use-gdm-hints
+%patch22 -p1 -b .ice-leaks
 
 %build
 
@@ -185,6 +189,9 @@
 %doc %{_datadir}/man/man*/*
 
 %changelog
+* Tue Sep 11 2007 Matthias Clasen <mclasen at redhat.com> - 2.19.92-3
+- Plug memory leaks in the ICE code
+
 * Wed Sep  5 2007 Kristian Høgsberg <krh at redhat.com> - 2.19.92-2
 - Update gnome-session-2.17.5-window-manager.patch to apply (remove
   chunks that are now upstream).




More information about the fedora-extras-commits mailing list