mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-12 06:50:22 +01:00
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:
parent
6a48e47424
commit
ce13b5dff7
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue