[libvirt] [PATCH 21/22] conf: Define VIR_AUTOPTR for virCPUDef
Jiri Denemark
jdenemar at redhat.com
Thu Oct 3 14:00:39 UTC 2019
Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
---
src/conf/cpu_conf.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/cpu_conf.h b/src/conf/cpu_conf.h
index 19ce816ec2..f26f29d9fc 100644
--- a/src/conf/cpu_conf.h
+++ b/src/conf/cpu_conf.h
@@ -151,6 +151,7 @@ virCPUDefFreeModel(virCPUDefPtr def);
void
virCPUDefFree(virCPUDefPtr def);
+VIR_DEFINE_AUTOPTR_FUNC(virCPUDef, virCPUDefFree);
int ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)
virCPUDefCopyModel(virCPUDefPtr dst,
--
2.23.0
More information about the libvir-list
mailing list