gnome-terminal r3159 - trunk/src



Author: chpe
Date: Mon Oct 13 18:43:24 2008
New Revision: 3159
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3159&view=rev

Log:
Don't leak the accel group.

Modified:
   trunk/src/terminal-accels.c

Modified: trunk/src/terminal-accels.c
==============================================================================
--- trunk/src/terminal-accels.c	(original)
+++ trunk/src/terminal-accels.c	Mon Oct 13 18:43:24 2008
@@ -306,10 +306,16 @@
   if (sync_idle_id != 0)
     {
       g_source_remove (sync_idle_id);
+      sync_idle_id = 0;
+
       sync_idle_cb (NULL);
     }
 
   g_hash_table_destroy (gconf_key_to_entry);
+  gconf_key_to_entry = NULL;
+
+  g_object_unref (notification_group);
+  notification_group = NULL;
 }
 
 static gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]