diff options
Diffstat (limited to 'common/gvfsmountinfo.c')
-rw-r--r-- | common/gvfsmountinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/gvfsmountinfo.c b/common/gvfsmountinfo.c index cea2be4d..756bbd06 100644 --- a/common/gvfsmountinfo.c +++ b/common/gvfsmountinfo.c @@ -834,8 +834,7 @@ more_files_callback (GObject *source_object, GAsyncResult *res, break; } - g_list_foreach (files, (GFunc)g_object_unref, NULL); - g_list_free (files); + g_list_free_full (files, g_object_unref); g_free (name_collation_key); if (filename) |