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

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

 





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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]