summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon/gvfsbackenddnssd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackenddnssd.c b/daemon/gvfsbackenddnssd.c
index f359bac9..da549029 100644
--- a/daemon/gvfsbackenddnssd.c
+++ b/daemon/gvfsbackenddnssd.c
@@ -700,7 +700,7 @@ add_browsers (GVfsBackendDnsSd *backend)
static void
remove_browsers (GVfsBackendDnsSd *backend)
{
- g_list_free (backend->browsers);
+ g_list_free_full (backend->browsers, (GDestroyNotify)avahi_service_browser_free);
backend->browsers = NULL;
}