rpms/gnome-session/devel startup_id-leak.patch, NONE, 1.1 gnome-session.spec, 1.193, 1.194

Matthias Clasen mclasen at fedoraproject.org
Fri Sep 19 16:07:52 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gnome-session/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16121

Modified Files:
	gnome-session.spec 
Added Files:
	startup_id-leak.patch 
Log Message:
more leak fixes


startup_id-leak.patch:

--- NEW FILE startup_id-leak.patch ---
diff -up gnome-session-2.23.92/gnome-session/gsm-autostart-app.c.startup_id-leak gnome-session-2.23.92/gnome-session/gsm-autostart-app.c
--- gnome-session-2.23.92/gnome-session/gsm-autostart-app.c.startup_id-leak	2008-09-15 17:42:11.000000000 -0400
+++ gnome-session-2.23.92/gnome-session/gsm-autostart-app.c	2008-09-15 17:46:24.000000000 -0400
@@ -793,6 +793,7 @@ autostart_app_start_spawn (GsmAutostartA
         g_debug ("GsmAutostartApp: starting %s: command=%s startup-id=%s", app->priv->desktop_id, command, startup_id);
         g_free (command);
 
+        g_free (app->priv->startup_id);
         local_error = NULL;
         success = egg_desktop_file_launch (app->priv->desktop_file,
                                            NULL,


Index: gnome-session.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-session/devel/gnome-session.spec,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -r1.193 -r1.194
--- gnome-session.spec	18 Sep 2008 14:36:39 -0000	1.193
+++ gnome-session.spec	19 Sep 2008 16:07:22 -0000	1.194
@@ -12,7 +12,7 @@
 Summary: GNOME session manager
 Name: gnome-session
 Version: 2.23.92
-Release: 5%{?dist}
+Release: 6%{?dist}
 URL: http://www.gnome.org
 Source0: http://download.gnome.org/sources/gnome-session/2.23/%{name}-%{version}.tar.bz2
 Source1: redhat-default-session
@@ -75,6 +75,8 @@
 Patch4: ice-leak.patch
 # http://bugzilla.gnome.org/show_bug.cgi?id=552780
 Patch5: xml-leak.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=552815
+Patch6: startup_id-leak.patch
 
 %description
 
@@ -89,6 +91,7 @@
 %patch3 -p1 -b .empty-string-leak
 %patch4 -p0 -b .ice-leak
 %patch5 -p1 -b .xml-leak
+%patch6 -p1 -b .startup_id-leak.patch
 
 %build
 
@@ -187,6 +190,9 @@
 
 
 %changelog
+* Thu Sep 18 2008 Matthias Clasen  <mclasen at redhat.com> - 2.23.92-6
+- Plug memory leaks
+
 * Thu Sep 18 2008 Matthias Clasen  <mclasen at redhat.com> - 2.23.92-5
 - Plug memory leaks
 




More information about the fedora-extras-commits mailing list