[libvirt PATCH 4/6] Use g_strfeev instead of virStringFreeList

Martin Kletzander mkletzan at redhat.com
Mon Aug 3 10:02:14 UTC 2020


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.
>
>Signed-off-by: Ján Tomko <jtomko at redhat.com>

While it would be great to rewrite some of these to g_autoptr(GStrv), I'm
guessing that can be done later and would be another patch anyway.

Reviewed-by: Martin Kletzander <mkletzan at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200803/e3be963f/attachment-0001.sig>


More information about the libvir-list mailing list