[PATCH 8/9] conf: secret: Register VIR_AUTOPTR function for virSecretDef

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

 



Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/conf/secret_conf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/conf/secret_conf.h b/src/conf/secret_conf.h
index de1c28e187..7cfcfc8a60 100644
--- a/src/conf/secret_conf.h
+++ b/src/conf/secret_conf.h
@@ -35,6 +35,8 @@ struct _virSecretDef {
 };

 void virSecretDefFree(virSecretDefPtr def);
+VIR_DEFINE_AUTOPTR_FUNC(virSecretDef, virSecretDefFree);
+
 virSecretDefPtr virSecretDefParseString(const char *xml);
 virSecretDefPtr virSecretDefParseFile(const char *filename);
 char *virSecretDefFormat(const virSecretDef *def);
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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