GNOME Bugzilla – Bug 556422
g_file_enumerator_next_file: unclear whether return value needs to be freed
Last modified: 2008-10-16 04:19:58 UTC
The documentation on g_file_enumerator_next_file is not clear on whether the return value needs to be unrefed or not. It seems it should, so a clarifying sentence such as "Free with g_object_unref() when no longer needed" for the description of the return value would be helpful. http://library.gnome.org/devel/gio/unstable/GFileEnumerator.html#g-file-enumerator-next-file
2008-10-16 Matthias Clasen <mclasen@redhat.com> Bug 556422 – g_file_enumerator_next_file: unclear whether return value needs to be freed * gfileenumerator.c (g_file_enumerate_next_file): Clarify the return value docs. Pointed out by Armin Burgmeier