summaryrefslogtreecommitdiff
path: root/src/dlg-add-files.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dlg-add-files.c')
-rw-r--r--src/dlg-add-files.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dlg-add-files.c b/src/dlg-add-files.c
index fed6ed8..add0a71 100644
--- a/src/dlg-add-files.c
+++ b/src/dlg-add-files.c
@@ -123,8 +123,7 @@ file_sel_response_cb (GtkWidget *widget,
fr_window_archive_add_files (window, item_list, update);
gio_file_list_free (item_list);
- g_slist_foreach (selections, (GFunc) g_free, NULL);
- g_slist_free (selections);
+ g_slist_free_full (selections, g_free);
g_free (current_folder);
gtk_widget_destroy (data->dialog);