summaryrefslogtreecommitdiffstats
path: root/glib/dbus-gmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/dbus-gmain.c')
-rw-r--r--glib/dbus-gmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/dbus-gmain.c b/glib/dbus-gmain.c
index 1d845b8d..993bcf37 100644
--- a/glib/dbus-gmain.c
+++ b/glib/dbus-gmain.c
@@ -286,6 +286,7 @@ connection_setup_add_watch (ConnectionSetup *cs,
cs->ios = g_slist_prepend (cs->ios, handler);
dbus_watch_set_data (watch, handler, io_handler_watch_freed);
+ g_io_channel_unref (channel);
}
static void