Commit c092d25e authored by Pavel Vasin's avatar Pavel Vasin Committed by Cosimo Cecchi

file-operations: fix GList leak

https://bugzilla.gnome.org/show_bug.cgi?id=682603
parent 00b5c875
...@@ -5804,7 +5804,7 @@ nautilus_file_operations_copy_move (const GList *item_uris, ...@@ -5804,7 +5804,7 @@ nautilus_file_operations_copy_move (const GList *item_uris,
locations = location_list_from_uri_list (item_uris); locations = location_list_from_uri_list (item_uris);
for (p = location_list_from_uri_list (item_uris); p != NULL; p = p->next) { for (p = locations; p != NULL; p = p->next) {
if (!g_file_has_uri_scheme ((GFile* )p->data, "burn")) { if (!g_file_has_uri_scheme ((GFile* )p->data, "burn")) {
have_nonmapping_source = TRUE; have_nonmapping_source = TRUE;
} }
......
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