gnome-session r4839 - in branches/dbus_based: . gnome-session
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-session r4839 - in branches/dbus_based: . gnome-session
- Date: Fri, 25 Jul 2008 01:27:52 +0000 (UTC)
Author: mccann
Date: Fri Jul 25 01:27:51 2008
New Revision: 4839
URL: http://svn.gnome.org/viewvc/gnome-session?rev=4839&view=rev
Log:
2008-07-24 William Jon McCann <jmccann redhat com>
* gnome-session/gsm-app.c (gsm_app_dispose):
Don't leak id.
Pointed out by Matthias Clasen <mclasen redhat com>
Modified:
branches/dbus_based/ChangeLog
branches/dbus_based/gnome-session/gsm-app.c
Modified: branches/dbus_based/gnome-session/gsm-app.c
==============================================================================
--- branches/dbus_based/gnome-session/gsm-app.c (original)
+++ branches/dbus_based/gnome-session/gsm-app.c Fri Jul 25 01:27:51 2008
@@ -159,10 +159,11 @@
{
GsmApp *app = GSM_APP (object);
- if (app->priv->startup_id) {
- g_free (app->priv->startup_id);
- app->priv->startup_id = NULL;
- }
+ g_free (app->priv->startup_id);
+ app->priv->startup_id = NULL;
+
+ g_free (app->priv->id);
+ app->priv->id = NULL;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]