[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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





On Tue, Jan 3, 2012 at 4:08 PM, Zeeshan Ali (Khattak) <zeeshanak 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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]