summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/housekeeping/msd-housekeeping-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/housekeeping/msd-housekeeping-manager.c b/plugins/housekeeping/msd-housekeeping-manager.c
index a873a66..a4596cf 100644
--- a/plugins/housekeeping/msd-housekeeping-manager.c
+++ b/plugins/housekeeping/msd-housekeeping-manager.c
@@ -200,8 +200,7 @@ purge_thumbnail_cache (MsdHousekeepingManager *manager)
}
}
- g_list_foreach (files, (GFunc) thumb_data_free, NULL);
- g_list_free (files);
+ g_list_free_full (files, thumb_data_free);
g_date_time_unref (purge_data.now);
}