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

Peter Krempa pkrempa at redhat.com
Wed Apr 3 07:55:33 UTC 2019


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.
-------------- 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/20190403/23298e68/attachment-0001.sig>


More information about the libvir-list mailing list