On 11/24/20 8:20 PM, Daniel Henrique Barboza wrote:
Let's register AUTOPTR_CLEANUP_FUNC for
virDomainControllerDefPtr
and modernize this function, removing the 'error' label using
g_autoptr().
Signed-off-by: Daniel Henrique Barboza <danielhb413(a)gmail.com>
---
src/conf/domain_conf.c | 60 ++++++++++++++++++++----------------------
src/conf/domain_conf.h | 1 +
2 files changed, 29 insertions(+), 32 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn(a)redhat.com>
Michal