Dana Jansens wrote: You need a matching g_list_free to avoid a memory leak, right? I wondered about that. The g_list documentation says nothing about it, although that would make sense. I ended up looking at the glist source, and yes, it needs a free.