Commit fbe79134 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Federico Mena Quintero

Fix leak in when creating the recently-used monitor

Signed-off-by: 's avatarFederico Mena Quintero <>

svn path=/trunk/; revision=519
parent 42ed0d8a
2008-10-27 Federico Mena Quintero <>
* main-menu/src/main-menu-ui.c
(setup_recently_used_store_monitor): Free the path.
* main-menu/src/tile-table.c (TileTablePrivate): Add an
icon_size_group field.
(tile_table_reload): Remember the size group we use for icons,
......@@ -1001,6 +1001,7 @@ setup_recently_used_store_monitor (MainMenuUI *this, gboolean is_startup)
path = get_recently_used_store_filename ();
file = g_file_new_for_path (path);
g_free (path);
monitor = g_file_monitor_file (file, 0, NULL, NULL);
if (monitor) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment