[nautilus] file-operations: fix GList leak
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file-operations: fix GList leak
- Date: Fri, 24 Aug 2012 16:44:52 +0000 (UTC)
commit c092d25e907507a1dba0185a70557bd4fccb2e3b
Author: Pavel Vasin <rat4vier gmail com>
Date: Fri Aug 24 14:58:45 2012 +0400
file-operations: fix GList leak
https://bugzilla.gnome.org/show_bug.cgi?id=682603
libnautilus-private/nautilus-file-operations.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-operations.c b/libnautilus-private/nautilus-file-operations.c
index 5aa9595..5fb3043 100644
--- a/libnautilus-private/nautilus-file-operations.c
+++ b/libnautilus-private/nautilus-file-operations.c
@@ -5804,7 +5804,7 @@ nautilus_file_operations_copy_move (const GList *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")) {
have_nonmapping_source = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]