util: xml: Add autoptr cleanup for virXMLValidator

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2020-10-07 10:26:30 +02:00
parent 8c67e389d6
commit 0e83c12c68

View File

@ -220,6 +220,7 @@ virXMLValidateNodeAgainstSchema(const char *schemafile,
void
virXMLValidatorFree(virXMLValidatorPtr validator);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virXMLValidator, virXMLValidatorFree);
void
virXMLFormatElement(virBufferPtr buf,