GSList* memory management.

Murray Cumming <[email protected]> Wed, 16 May 2007 13:08:18 +0200
Newsgroups gmane.comp.gnome.lib.gconf
Message-ID <1179313698.5842.15.camel@murrayc-desktop>
I'd like to improve the documentation for functions that return GSLists
and GList*. The documentation needs to specify how they should be freed:
- with just g_slist_free() - a shallow delete.
or
- with a g_free() (or appropriate) on each item, and then a
g_slist_free() - a deep delete.

For instance, which should it be for these functions?
gconf_client_all_dirs()
gconf_client_all_entries()
gconf_client_get_list()

-- 
Murray Cumming
[email protected]
www.murrayc.com
www.openismus.com