summaryrefslogtreecommitdiffstats
path: root/glib
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2005-11-30 18:48:11 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2005-11-30 18:48:11 +0000
commit111118fd8a9240440ec0e4b9710bebf91e186881 (patch)
treef18218e85dae295636c7a21609cf3c3e789d16dc /glib
parent3bcfd003b64d8eba41375f98fc1c12c6d153aa14 (diff)
* glib/dbus-gmain.c (connection_setup_add_watch): plugged a leak
(patch from Carlos Garnacho Parro <carlosg at gnome.org>
Diffstat (limited to 'glib')
-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