This will open an opportunity to modernize virDomainDiskDefParseXML() in the next patch. Signed-off-by: Daniel Henrique Barboza <danielhb413@xxxxxxxxx> --- src/util/virstorageencryption.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/virstorageencryption.h b/src/util/virstorageencryption.h index a107161f0f..05a7bffdfc 100644 --- a/src/util/virstorageencryption.h +++ b/src/util/virstorageencryption.h @@ -79,6 +79,7 @@ virStorageEncryptionPtr virStorageEncryptionCopy(const virStorageEncryption *src ATTRIBUTE_NONNULL(1); void virStorageEncryptionFree(virStorageEncryptionPtr enc); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(virStorageEncryption, virStorageEncryptionFree); virStorageEncryptionPtr virStorageEncryptionParseNode(xmlNodePtr node, xmlXPathContextPtr ctxt); -- 2.26.2