summaryrefslogtreecommitdiff
path: root/daemon/mount.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2013-01-17 11:57:43 +0100
committerTomas Bzatek <tbzatek@redhat.com>2013-01-17 11:57:43 +0100
commitfd135fe90ce9b9a568468c4ddb21e6d13135e80d (patch)
tree77a3a34834640f00797fb8b5e072b7356706231e /daemon/mount.c
parent85e2ef5741bc0e165e6e74a70917bd7f0390444f (diff)
downloadgvfs-fd135fe90ce9b9a568468c4ddb21e6d13135e80d.tar.gz
Use g_list_free_full() where applicable
Diffstat (limited to 'daemon/mount.c')
-rw-r--r--daemon/mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index 5224a664..d1341f56 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -547,8 +547,7 @@ read_mountable_config (void)
static void
re_read_mountable_config (void)
{
- g_list_foreach (mountables, (GFunc)vfs_mountable_free, NULL);
- g_list_free (mountables);
+ g_list_free_full (mountables, (GDestroyNotify)vfs_mountable_free);
mountables = NULL;
read_mountable_config ();