summaryrefslogtreecommitdiff
path: root/src/caja-trash-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-trash-bar.c')
-rw-r--r--src/caja-trash-bar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/caja-trash-bar.c b/src/caja-trash-bar.c
index 77e60f88..beb993bd 100644
--- a/src/caja-trash-bar.c
+++ b/src/caja-trash-bar.c
@@ -70,7 +70,8 @@ restore_button_clicked_cb (GtkWidget *button,
caja_restore_files_from_trash (files, GTK_WINDOW (gtk_widget_get_toplevel (button)));
caja_file_list_free (files);
- eel_g_object_list_free (locations);
+ g_list_foreach(locations, (GFunc) g_object_unref, NULL);
+ g_list_free(locations);
}
static void