[PATCH 18/21] domain_conf.c: modernize virDomainControllerDefParseXML()

Michal Privoznik mprivozn at redhat.com
Tue Dec 1 18:46:50 UTC 2020


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 at 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 at redhat.com>

Michal




More information about the libvir-list mailing list