dbus/glib dbus-gvalue.c,1.24,1.25

Robert McQueen robot101 at freedesktop.org
Fri Jan 27 07:15:18 PST 2006


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

Modified Files:
	dbus-gvalue.c 
Log Message:
2006-01-27  Robert McQueen  <robot101 at debian.org>

	* glib/dbus-gvalue.c (demarshal_valuearray): Patch from Rob Taylor
	to free a D-Bus allocated string with dbus_free () instead of
	g_free ().

Index: dbus-gvalue.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gvalue.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- dbus-gvalue.c	27 Nov 2005 16:55:09 -0000	1.24
+++ dbus-gvalue.c	27 Jan 2006 15:15:16 -0000	1.25
@@ -741,7 +741,7 @@
       current_sig = dbus_message_iter_get_signature (&subiter);
       elt_type = _dbus_gtype_from_signature (current_sig, TRUE);
 
-      g_free (current_sig);
+      dbus_free (current_sig);
       if (elt_type == G_TYPE_INVALID)
 	{
 	  g_value_array_free (ret);



More information about the dbus-commit mailing list