more leak fixes
This commit is contained in:
parent
27e104a569
commit
8285527e22
@ -12,7 +12,7 @@
|
|||||||
Summary: GNOME session manager
|
Summary: GNOME session manager
|
||||||
Name: gnome-session
|
Name: gnome-session
|
||||||
Version: 2.23.92
|
Version: 2.23.92
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
URL: http://www.gnome.org
|
URL: http://www.gnome.org
|
||||||
Source0: http://download.gnome.org/sources/gnome-session/2.23/%{name}-%{version}.tar.bz2
|
Source0: http://download.gnome.org/sources/gnome-session/2.23/%{name}-%{version}.tar.bz2
|
||||||
Source1: redhat-default-session
|
Source1: redhat-default-session
|
||||||
@ -75,6 +75,8 @@ Patch3: empty-string-leak.patch
|
|||||||
Patch4: ice-leak.patch
|
Patch4: ice-leak.patch
|
||||||
# http://bugzilla.gnome.org/show_bug.cgi?id=552780
|
# http://bugzilla.gnome.org/show_bug.cgi?id=552780
|
||||||
Patch5: xml-leak.patch
|
Patch5: xml-leak.patch
|
||||||
|
# http://bugzilla.gnome.org/show_bug.cgi?id=552815
|
||||||
|
Patch6: startup_id-leak.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
@ -89,6 +91,7 @@ GNOME components and handles logout and saving the session.
|
|||||||
%patch3 -p1 -b .empty-string-leak
|
%patch3 -p1 -b .empty-string-leak
|
||||||
%patch4 -p0 -b .ice-leak
|
%patch4 -p0 -b .ice-leak
|
||||||
%patch5 -p1 -b .xml-leak
|
%patch5 -p1 -b .xml-leak
|
||||||
|
%patch6 -p1 -b .startup_id-leak.patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -187,6 +190,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 18 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-6
|
||||||
|
- Plug memory leaks
|
||||||
|
|
||||||
* Thu Sep 18 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-5
|
* Thu Sep 18 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-5
|
||||||
- Plug memory leaks
|
- Plug memory leaks
|
||||||
|
|
||||||
|
11
startup_id-leak.patch
Normal file
11
startup_id-leak.patch
Normal file
@ -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,
|
Loading…
Reference in New Issue
Block a user