aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-select-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-select-file.c')
-rw-r--r--composer/e-msg-composer-select-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c
index 6fdf711081..e93c39dcd2 100644
--- a/composer/e-msg-composer-select-file.c
+++ b/composer/e-msg-composer-select-file.c
@@ -202,7 +202,7 @@ select_attach_response(GtkWidget *selector, guint response, struct _EMsgComposer
names = NULL;
if ((files = gtk_file_selection_get_selections (GTK_FILE_SELECTION (selector)))) {
for (i = 0; files[i]; i++)
- g_slist_prepend(names, files[i]);
+ names = g_slist_prepend(names, files[i]);
g_free (files);
names = g_slist_reverse(names);