Re: Gio & memory management



Thank you Nicola,

And you're also g_freeing a GFileInfo, which is a GObject. Try
to use g_object_unref() instead.

Ciao
When I use g_object_unref() instead of g_free(file_info); I've got this error :

(process:30949): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed





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