filechooser: Fix leak when a shortcut disappears from the filesystem

https://bugzilla.gnome.org/show_bug.cgi?id=432386
This commit is contained in:
Tilman Sauerbek
2013-05-30 10:21:55 -05:00
committed by Federico Mena Quintero
parent 9754c51349
commit 3b82c12d3e

View File

@@ -1482,6 +1482,7 @@ get_file_info_finished (GCancellable *cancellable,
if (!info)
{
shortcuts_free_row_data (request->impl, &iter);
gtk_list_store_remove (request->impl->shortcuts_model, &iter);
shortcuts_update_count (request->impl, request->type, -1);