gnome-main-menu r520 - in trunk: . main-menu/src



Author: federico
Date: Tue Oct 28 01:28:52 2008
New Revision: 520
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=520&view=rev

Log:
Fix file leak in when creating the recently-used monitor

Signed-off-by: Federico Mena Quintero <federico novell com>

Modified:
   trunk/ChangeLog
   trunk/main-menu/src/main-menu-ui.c

Modified: trunk/main-menu/src/main-menu-ui.c
==============================================================================
--- trunk/main-menu/src/main-menu-ui.c	(original)
+++ trunk/main-menu/src/main-menu-ui.c	Tue Oct 28 01:28:52 2008
@@ -1012,6 +1012,8 @@
 				  this);
 	}
 
+	g_object_unref (file);
+
 	priv->recently_used_store_monitor = monitor;
 
 	if (priv->recently_used_timeout_id != 0)



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