summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackenddnssd.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/gvfsbackenddnssd.c
parent85e2ef5741bc0e165e6e74a70917bd7f0390444f (diff)
downloadgvfs-fd135fe90ce9b9a568468c4ddb21e6d13135e80d.tar.gz
Use g_list_free_full() where applicable
Diffstat (limited to 'daemon/gvfsbackenddnssd.c')
-rw-r--r--daemon/gvfsbackenddnssd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackenddnssd.c b/daemon/gvfsbackenddnssd.c
index 8198604b..366b299a 100644
--- a/daemon/gvfsbackenddnssd.c
+++ b/daemon/gvfsbackenddnssd.c
@@ -800,7 +800,7 @@ g_vfs_backend_dns_sd_finalize (GObject *object)
g_free (backend->domain);
- g_list_foreach (backend->files, (GFunc)link_file_free, NULL);
+ g_list_free_full (backend->files, (GDestroyNotify)link_file_free);
if (G_OBJECT_CLASS (g_vfs_backend_dns_sd_parent_class)->finalize)
(*G_OBJECT_CLASS (g_vfs_backend_dns_sd_parent_class)->finalize) (object);