On Freitag, 2. Oktober 2020 16:23:31 CEST Daniel P. Berrangé wrote: > No need to realloate a new array - just shuffle down the elements in > the array you get back from g_strsplit to discard the empty ones. Sure > the array will end up with a series of NULLs at the end but that is > harmless. > > both g_strsplit/g_strfreev work in terms of a normal allocated "char **" > array, so there's no risk of changes to way memory is allocated.
Ok then, if you say so ... fine with me. Best regards, Christian Schoenebeck
