]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: block: Add and use AUTOPTR func for qemuBlockNodeNameBackingChainData
authorPeter Krempa <pkrempa@redhat.com>
Thu, 4 Apr 2019 09:18:07 +0000 (11:18 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 10 Apr 2019 14:34:57 +0000 (16:34 +0200)
commit6542fbe2d57fa8a8298ec2920fdc22e83b34b3c2
tree73bfc6b88af0f8543275a0120d09ad15b814fcb9
parent7141bdd5bfe413d3855c39779b7feee036688c90
qemu: block: Add and use AUTOPTR func for qemuBlockNodeNameBackingChainData

This is a locally used helper struct but we can make use of automatic
freeing for it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_block.c