Hi
+ g_slice_free (DomainSavedSuspendData, data);
g_object_{set,get}_data could probably use the _full variant, to make sure the data is released on object release.
Even better would be to follow glib/gio pattern, which seems to use g_simple_async_result_set_op_res_gpointer() instead for passing arguments, although the name function suggest result use case only. (see gio/gfile.c). The existing code could be updated too.
--
Marc-André Lureau-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list