summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--glib/dbus-gmain.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e2bd0c3..9e8d4a25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-30 John (J5) Palmieri <johnp@redhat.com>
+
+ * glib/dbus-gmain.c (connection_setup_add_watch): plugged a leak
+ (patch from Carlos Garnacho Parro <carlosg at gnome.org>
+
2005-11-27 Robert McQueen <robot101@debian.org>
* python/dbus_bindings.pyx: Repair my previous commit which reverted
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