diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2005-11-30 18:48:11 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2005-11-30 18:48:11 +0000 |
commit | 111118fd8a9240440ec0e4b9710bebf91e186881 (patch) | |
tree | f18218e85dae295636c7a21609cf3c3e789d16dc | |
parent | 3bcfd003b64d8eba41375f98fc1c12c6d153aa14 (diff) |
* glib/dbus-gmain.c (connection_setup_add_watch): plugged a leak
(patch from Carlos Garnacho Parro <carlosg at gnome.org>
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | glib/dbus-gmain.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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 |