summaryrefslogtreecommitdiffstats
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
parent3bcfd003b64d8eba41375f98fc1c12c6d153aa14 (diff)
* glib/dbus-gmain.c (connection_setup_add_watch): plugged a leak
(patch from Carlos Garnacho Parro <carlosg at gnome.org>
-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