summaryrefslogtreecommitdiff
path: root/src/file-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-utils.c')
-rw-r--r--src/file-utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file-utils.c b/src/file-utils.c
index b0949da..c8b1823 100644
--- a/src/file-utils.c
+++ b/src/file-utils.c
@@ -755,8 +755,7 @@ path_list_free (GList *path_list)
{
if (path_list == NULL)
return;
- g_list_foreach (path_list, (GFunc) g_free, NULL);
- g_list_free (path_list);
+ g_list_free_full (path_list, g_free);
}