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

2020-12-01 Thread Michal Privoznik
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 --- src/conf/domain_conf.c | 34 +++--- src/conf/domain_conf.h

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

2020-11-24 Thread Daniel Henrique Barboza
Register a AUTOPTR_CLEANUP_FUNC for virDomainSmartcardDef and use g_autoptr() to eliminate the 'error' label. Signed-off-by: Daniel Henrique Barboza --- src/conf/domain_conf.c | 34 +++--- src/conf/domain_conf.h | 1 + 2 files changed, 16 insertions(+), 19 deletions(