rpms/gnome-session/devel ListenObjs-leak.patch, NONE, 1.1 inhibitor-leak.patch, NONE, 1.1 previous_id-leak.patch, NONE, 1.1 gnome-session.spec, 1.189, 1.190
Matthias Clasen
mclasen at fedoraproject.org
Mon Sep 15 00:26:11 UTC 2008
- Previous message (by thread): rpms/eclipse-phpeclipse/devel eclipse-phpeclipse-httpd-integration.patch, 1.4, 1.5 eclipse-phpeclipse.spec, 1.7, 1.8
- Next message (by thread): rpms/gputils/F-8 .cvsignore, 1.5, 1.6 gputils.spec, 1.13, 1.14 sources, 1.5, 1.6 gputils-0.13.5.man-fr.patch, 1.1, NONE gputils-0.13.5.man.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mclasen
Update of /cvs/extras/rpms/gnome-session/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16385
Modified Files:
gnome-session.spec
Added Files:
ListenObjs-leak.patch inhibitor-leak.patch
previous_id-leak.patch
Log Message:
Plug some memory leaks
ListenObjs-leak.patch:
--- NEW FILE ListenObjs-leak.patch ---
diff -up gnome-session-2.23.92/gnome-session/gsm-xsmp-server.c.ListenObj-leak gnome-session-2.23.92/gnome-session/gsm-xsmp-server.c
--- gnome-session-2.23.92/gnome-session/gsm-xsmp-server.c.ListenObj-leak 2008-09-14 13:36:09.000000000 -0400
+++ gnome-session-2.23.92/gnome-session/gsm-xsmp-server.c 2008-09-14 13:38:00.000000000 -0400
@@ -606,6 +606,9 @@ gsm_xsmp_server_finalize (GObject *objec
g_return_if_fail (xsmp_server->priv != NULL);
+ IceFreeListenObjs (xsmp_server->priv->num_xsmp_sockets,
+ xsmp_server->priv->xsmp_sockets);
+
if (xsmp_server->priv->client_store != NULL) {
g_object_unref (xsmp_server->priv->client_store);
}
inhibitor-leak.patch:
--- NEW FILE inhibitor-leak.patch ---
diff -up gnome-session-2.23.92/gnome-session/gsm-inhibit-dialog.c.inhibitor-leak gnome-session-2.23.92/gnome-session/gsm-inhibit-dialog.c
--- gnome-session-2.23.92/gnome-session/gsm-inhibit-dialog.c.inhibitor-leak 2008-09-14 19:48:46.000000000 -0400
+++ gnome-session-2.23.92/gnome-session/gsm-inhibit-dialog.c 2008-09-14 19:47:48.000000000 -0400
@@ -496,6 +496,7 @@ add_inhibitor (GsmInhibitDialog *dialog,
/* FIXME: get info from xid */
+ desktop_file = NULL;
name = NULL;
pixbuf = NULL;
freeme = NULL;
@@ -602,6 +603,9 @@ add_inhibitor (GsmInhibitDialog *dialog,
if (pixbuf != NULL) {
g_object_unref (pixbuf);
}
+ if (desktop_file != NULL) {
+ egg_desktop_file_free (desktop_file);
+ }
}
static gboolean
previous_id-leak.patch:
--- NEW FILE previous_id-leak.patch ---
diff -up gnome-session-2.23.92/gnome-session/gsm-xsmp-client.c.previous_id-leak.patch gnome-session-2.23.92/gnome-session/gsm-xsmp-client.c
--- gnome-session-2.23.92/gnome-session/gsm-xsmp-client.c.previous_id-leak.patch 2008-09-14 18:57:14.000000000 -0400
+++ gnome-session-2.23.92/gnome-session/gsm-xsmp-client.c 2008-09-14 18:57:30.000000000 -0400
@@ -857,13 +857,12 @@ register_client_callback (SmsConn con
g_debug ("GsmXSMPClient: Sending initial SaveYourself");
SmsSaveYourself (conn, SmSaveLocal, False, SmInteractStyleNone, False);
client->priv->current_save_yourself = SmSaveLocal;
-
- free (previous_id);
}
gsm_client_set_status (GSM_CLIENT (client), GSM_CLIENT_REGISTERED);
g_free (id);
+ free (previous_id);
return TRUE;
}
Index: gnome-session.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-session/devel/gnome-session.spec,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -r1.189 -r1.190
--- gnome-session.spec 8 Sep 2008 23:48:28 -0000 1.189
+++ gnome-session.spec 15 Sep 2008 00:25:40 -0000 1.190
@@ -12,7 +12,7 @@
Summary: GNOME session manager
Name: gnome-session
Version: 2.23.92
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-session/2.23/%{name}-%{version}.tar.bz2
Source1: redhat-default-session
@@ -63,6 +63,13 @@
Requires(post): GConf2 >= %{gconf2_version}
Requires(preun): GConf2 >= %{gconf2_version}
+# http://bugzilla.gnome.org/show_bug.cgi?id=552292
+Patch0: ListenObjs-leak.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=552293
+Patch1: previous_id-leak.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=552294
+Patch2: inhibitor-leak.patch
+
%description
gnome-session manages a GNOME desktop session. It starts up the other core
@@ -70,6 +77,9 @@
%prep
%setup -q
+%patch0 -p1 -b .ListenObjs-leak
+%patch1 -p1 -b .previous_id-leak
+%patch2 -p1 -b .inhibitor-leak
%build
@@ -168,6 +178,9 @@
%changelog
+* Sun Sep 14 2008 Matthias Clasen <mclasen at redhat.com> - 2.23.92-2
+- Plug memory leaks
+
* Mon Sep 8 2008 Jon McCann <jmccann at redhat.com> - 2.23.92-1
- Update to 2.23.92
- Previous message (by thread): rpms/eclipse-phpeclipse/devel eclipse-phpeclipse-httpd-integration.patch, 1.4, 1.5 eclipse-phpeclipse.spec, 1.7, 1.8
- Next message (by thread): rpms/gputils/F-8 .cvsignore, 1.5, 1.6 gputils.spec, 1.13, 1.14 sources, 1.5, 1.6 gputils-0.13.5.man-fr.patch, 1.1, NONE gputils-0.13.5.man.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list