2006-01-27 Robert McQueen <robot101@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 ().
This commit is contained in:
Robert McQueen 2006-01-27 15:15:16 +00:00
parent 6a48e47424
commit ce13b5dff7
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-01-27 Robert McQueen <robot101@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 ().
2006-01-27 Iain Holmes <iain@openedhand.com>
* glib/dbus-gproxy.c (dbus_g_proxy_dispose): Protect the dispose

View file

@ -741,7 +741,7 @@ demarshal_valuearray (DBusGValueMarshalCtx *context,
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);