On Tue, Jan 3, 2012 at 4:08 PM, Zeeshan Ali (Khattak)
<zeesha...@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
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to