On Mon, Aug 03, 2020 at 12:25:32AM +0200, Ján Tomko wrote: > Both accept a NULL value gracefully and virStringFreeList > does not zero the pointer afterwards, so a straight replace > is safe. FWIW, if you use g_autoptr(GStrv) instead of char **, then you can get auto-cleanup working where useful. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|