dbus/glib dbus-gmain.c,1.47,1.48

John Palmieri johnp at freedesktop.org
Wed Nov 30 10:48:13 PST 2005


Update of /cvs/dbus/dbus/glib
In directory gabe:/tmp/cvs-serv15095/glib

Modified Files:
	dbus-gmain.c 
Log Message:
* glib/dbus-gmain.c (connection_setup_add_watch): plugged a leak
  (patch from Carlos Garnacho Parro <carlosg at gnome.org>


Index: dbus-gmain.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gmain.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- dbus-gmain.c	25 Oct 2005 15:57:13 -0000	1.47
+++ dbus-gmain.c	30 Nov 2005 18:48:11 -0000	1.48
@@ -286,6 +286,7 @@
   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



More information about the dbus-commit mailing list