gnome-terminal r2606 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2606 - trunk/src
- Date: Thu, 29 May 2008 19:38:02 +0000 (UTC)
Author: chpe
Date: Thu May 29 19:38:02 2008
New Revision: 2606
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2606&view=rev
Log:
Don't leak the profiles.
Modified:
trunk/src/terminal-app.c
Modified: trunk/src/terminal-app.c
==============================================================================
--- trunk/src/terminal-app.c (original)
+++ trunk/src/terminal-app.c Thu May 29 19:38:02 2008
@@ -1727,7 +1727,7 @@
global_app = app;
/* FIXMEchpe leaks */
- app->profiles = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
+ app->profiles = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref);
conf = gconf_client_get_default ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]