Next patch will use g_autoptr() in virCPUppc64VendorPtr pointers for some cleanups. Signed-off-by: Daniel Henrique Barboza <danielhb413@xxxxxxxxx> --- src/cpu/cpu_ppc64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/cpu_ppc64.c b/src/cpu/cpu_ppc64.c index 2a7c955781..b003e48bed 100644 --- a/src/cpu/cpu_ppc64.c +++ b/src/cpu/cpu_ppc64.c @@ -152,6 +152,7 @@ ppc64VendorFree(virCPUppc64VendorPtr vendor) VIR_FREE(vendor->name); VIR_FREE(vendor); } +G_DEFINE_AUTOPTR_CLEANUP_FUNC(virCPUppc64Vendor, ppc64VendorFree); static virCPUppc64VendorPtr ppc64VendorFind(const struct ppc64_map *map, -- 2.26.2