Re: [libvirt PATCH] tests: fix incorrect free of GVariant in our GLib mock functions

2020-10-04 Thread Cole Robinson
On 10/2/20 6:36 AM, Pavel Hrdina wrote: > GLib implementation of g_dbus_connection_call_sync() calls > g_variant_ref_sink() on the passed @parameters to make sure they have > proper reference. If the original reference is floating the > g_dbus_connection_call_sync() consumes it, but if it's normal

Re: [libvirt PATCH] tests: fix incorrect free of GVariant in our GLib mock functions

2020-10-02 Thread Michal Prívozník
On 10/2/20 12:36 PM, Pavel Hrdina wrote: GLib implementation of g_dbus_connection_call_sync() calls g_variant_ref_sink() on the passed @parameters to make sure they have proper reference. If the original reference is floating the g_dbus_connection_call_sync() consumes it, but if it's normal