[PATCH 13/21] domain_conf.c: modernize virDomainSmartcardDefParseXML

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


On 11/24/20 8:20 PM, Daniel Henrique Barboza wrote:
> Register a AUTOPTR_CLEANUP_FUNC for virDomainSmartcardDef and use
> g_autoptr() to eliminate the 'error' label.
> 
> Signed-off-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
> ---
>   src/conf/domain_conf.c | 34 +++++++++++++++-------------------
>   src/conf/domain_conf.h |  1 +
>   2 files changed, 16 insertions(+), 19 deletions(-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list