[libvirt] [PATCH 08/14] virsh-completer: use VIR_AUTOSTRINGLIST for tmp

Ján Tomko jtomko at redhat.com
Wed Apr 3 08:36:55 UTC 2019


On Wed, Apr 03, 2019 at 09:55:33AM +0200, Peter Krempa wrote:
>On Mon, Apr 01, 2019 at 09:33:25 +0200, Ján Tomko wrote:
>> Now that every function uses virStringListFree, we can use the
>> VIR_AUTOSTRINGLIST to have the compiler call this function automatically
>> when 'tmp' goes out of scope.
>
>Again something that could be done in previous patch directly. You are
>adding a bunch of calls to virStringListFree which vanish here.
>
>ACK but really consider squashing this one.

Squashed-by: Ján Tomko <jtomko at redhat.com>

Jano

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190403/66d63ce4/attachment-0001.sig>


More information about the libvir-list mailing list