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