zze-DEPREZ Olivier FTRD/DMI/SOP wrote:
Hello again,Do we need to create a new Glist (or GSList) each time it is called in a function ?
Not if it is global.
It seems that a call to g_list_nth_data(), even without changing indexes with g_list_next or else, into separate functions causes a segmentation fault.
There should be at least n elements in the list.