Looks like we forgot to ref the returned GVariant in
g_dbus_proxy_call_finish().
It's a good question why code using g_dbus_proxy_call() and
g_dbus_proxy_call_finish() worked in the first place - probably the
answer is that no-one really used these APIs.
Signed-off-by: David Zeuthen <davidz@redhat.com>
if (g_simple_async_result_propagate_error (simple, error))
goto out;
- value = g_simple_async_result_get_op_res_gpointer (simple);
+ value = g_variant_ref (g_simple_async_result_get_op_res_gpointer (simple));
method_name = g_object_get_data (G_OBJECT (simple), "-gdbus-proxy-method-name");
out: