[libvirt] [libvirt-glib] API to save and suspend

Marc-André Lureau marcandre.lureau at gmail.com
Tue Jan 3 15:23:47 UTC 2012


On Tue, Jan 3, 2012 at 4:08 PM, Zeeshan Ali (Khattak)
<zeeshanak at gnome.org>wrote:

> +    g_simple_async_result_set_op_res_gpointer (res, data, NULL);
>

Why not adding g_slice_free argument here, instead of calling it
explicitely in the callback, and risking a leak?

-- 
Marc-André Lureau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120103/a0ee3234/attachment-0001.htm>


More information about the libvir-list mailing list