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 <[email protected]>
---
  src/conf/domain_conf.c | 34 +++++++++++++++-------------------
  src/conf/domain_conf.h |  1 +
  2 files changed, 16 insertions(+), 19 deletions(-)

Reviewed-by: Michal Privoznik <[email protected]>

Michal

Reply via email to