filechooser: Fix leak when a shortcut disappears from the filesystem
https://bugzilla.gnome.org/show_bug.cgi?id=432386
This commit is contained in:
committed by
Federico Mena Quintero
parent
9754c51349
commit
3b82c12d3e
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user