]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: define autoptr func for virCapsHostCacheBankFree
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 11 Oct 2022 09:02:47 +0000 (10:02 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 15 Nov 2022 10:12:06 +0000 (10:12 +0000)
commit5c84485439ee63f40002c04914e111395c598db0
tree70fdfa3de312cd5b2044befa083e42a421841fea
parent8e527dd653814fa0c6266228ae46f1aed0159608
conf: define autoptr func for virCapsHostCacheBankFree

This lets us simplify the cleanup paths when populating the host cache
bank information in capabilities XML.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/conf/capabilities.c
src/conf/capabilities.h