dbus/glib dbus-gobject.c,1.36,1.37
Colin Walters
walters at freedesktop.org
Wed Jun 29 10:02:35 PDT 2005
Update of /cvs/dbus/dbus/glib
In directory gabe:/tmp/cvs-serv20049/glib
Modified Files:
dbus-gobject.c
Log Message:
2005-06-29 Colin Walters <walters at verbum.org>
Patch from Ross Burton <ross at openedhand.com>
* glib/dbus-gobject.c (invoke_object_method): Unset object
value in all cases, not only in async case.
Index: dbus-gobject.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gobject.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- dbus-gobject.c 29 Jun 2005 16:58:59 -0000 1.36
+++ dbus-gobject.c 29 Jun 2005 17:02:33 -0000 1.37
@@ -845,7 +845,8 @@
g_value_init (&object_value, G_TYPE_OBJECT);
g_value_set_object (&object_value, object);
g_value_array_prepend (value_array, &object_value);
-
+ g_value_unset (&object_value);
+
if (call_only)
{
GValue context_value = {0,};
@@ -986,7 +987,6 @@
{
g_array_free (out_param_values, TRUE);
g_value_array_free (out_param_gvalues);
- g_value_unset (&object_value);
g_value_unset (&error_value);
}
g_value_array_free (value_array);
More information about the dbus-commit
mailing list