diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-09-21 20:29:46 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-09-21 20:31:21 +0200 |
commit | 95f7dd7ccfcb3bf939ad0f9efdb4fa2ddefc2a2a (patch) | |
tree | 0ba9d659838c546ca2188a6e6617d1e4bedd2b2a | |
parent | a508adbb900678c8c401155cf5fed3ee0959b88b (diff) | |
download | nautilus-95f7dd7ccfcb3bf939ad0f9efdb4fa2ddefc2a2a.tar.gz |
nautilus-file: plug leak
https://bugzilla.gnome.org/show_bug.cgi?id=770586
-rw-r--r-- | src/nautilus-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-file.c b/src/nautilus-file.c index f9ca8901d..ef5975731 100644 --- a/src/nautilus-file.c +++ b/src/nautilus-file.c @@ -2260,7 +2260,6 @@ real_batch_rename (GList *files, GList *l1, *l2, *old_files, *new_files; NautilusFileOperation *op; GFile *location; - gchar *new_file_name; GString *new_name; NautilusFile *file; GError *error; @@ -2287,6 +2286,7 @@ real_batch_rename (GList *files, for (l1 = files, l2 = new_names; l1 != NULL && l2 != NULL; l1 = l1->next, l2 = l2->next) { + g_autofree gchar *new_file_name; file = NAUTILUS_FILE (l1->data); new_name = l2->data; |