diff --git a/gnome-session.spec b/gnome-session.spec index a87d80a..f692555 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -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 @@ Patch3: empty-string-leak.patch 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 @@ GNOME components and handles logout and saving the session. %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 @@ fi %changelog +* Thu Sep 18 2008 Matthias Clasen - 2.23.92-6 +- Plug memory leaks + * Thu Sep 18 2008 Matthias Clasen - 2.23.92-5 - Plug memory leaks diff --git a/startup_id-leak.patch b/startup_id-leak.patch new file mode 100644 index 0000000..4f38ec6 --- /dev/null +++ b/startup_id-leak.patch @@ -0,0 +1,11 @@ +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,