[PATCH 01/21] util: xml: Add autoptr cleanup for virXMLValidator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/util/virxml.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/virxml.h b/src/util/virxml.h
index fd0d30fcec..b73591c3df 100644
--- a/src/util/virxml.h
+++ b/src/util/virxml.h
@@ -220,6 +220,7 @@ virXMLValidateNodeAgainstSchema(const char *schemafile,

 void
 virXMLValidatorFree(virXMLValidatorPtr validator);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(virXMLValidator, virXMLValidatorFree);

 void
 virXMLFormatElement(virBufferPtr buf,
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux