summaryrefslogtreecommitdiff
path: root/logview/src/logview-app.c
diff options
context:
space:
mode:
Diffstat (limited to 'logview/src/logview-app.c')
-rw-r--r--logview/src/logview-app.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/logview/src/logview-app.c b/logview/src/logview-app.c
index ffa37ec7..6d30e682 100644
--- a/logview/src/logview-app.c
+++ b/logview/src/logview-app.c
@@ -145,8 +145,7 @@ enumerate_job_finish (EnumerateJob *job)
logview_manager_add_logs_from_name_list (app->priv->manager, files, files->data);
- g_slist_foreach (files, (GFunc) g_free, NULL);
- g_slist_free (files);
+ g_slist_free_full (files, g_free);
g_object_unref (job->app);
g_slice_free (EnumerateJob, job);