[libvirt] [PATCH v2 26/31] conf: Define VIR_AUTOPTR for virCPUDef

Ján Tomko jtomko at redhat.com
Wed Oct 16 15:31:11 UTC 2019


On Tue, Oct 15, 2019 at 05:35:02PM +0200, Jiri Denemark wrote:
>Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>---
>
>Notes:
>    Version 2:
>    - no change
>
> 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 30904fab95..230e75f077 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);

G_DEFINE_AUTOPTR_CLEANUP_FUNC

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191016/c1a8d320/attachment-0001.sig>


More information about the libvir-list mailing list