Register virDomainIOThreadIDDefFree to do the cleanup. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/conf/domain_conf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 64465dd8d6..2d5462bb55 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -2531,6 +2531,7 @@ struct _virDomainIOThreadIDDef { }; void virDomainIOThreadIDDefFree(virDomainIOThreadIDDef *def); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(virDomainIOThreadIDDef, virDomainIOThreadIDDefFree); struct _virDomainCputune { -- 2.30.2