]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: caps: Modernize virCapabilitiesFormatCaches
authorPeter Krempa <pkrempa@redhat.com>
Fri, 25 Oct 2019 14:16:41 +0000 (16:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Nov 2019 13:37:59 +0000 (14:37 +0100)
commit3ca2bdefa57c90d7d9ed633a01393d8a825ca2a1
tree01563c59c1b215c6cf7bf71a1d82ffd200c16653
parentfa7e8bb824d5eefa7bcda20262aef4a43955c5c7
conf: caps: Modernize virCapabilitiesFormatCaches

Use automatic memory freeing and use virXMLFormatElement instead of open
coding it.

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