Re: [libvirt] [PATCH v2 03/32] util: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStorageAuthDef

2019-02-11 Thread Ján Tomko
On Fri, Feb 08, 2019 at 01:36:57PM -0500, John Ferlan wrote: Let's make use of the auto __cleanup capabilities cleaning up any now unnecessary goto paths. Signed-off-by: John Ferlan Reviewed-by: Erik Skultety --- src/conf/domain_conf.c| 26 ++ src/conf/storage_co

[libvirt] [PATCH v2 03/32] util: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStorageAuthDef

2019-02-08 Thread John Ferlan
Let's make use of the auto __cleanup capabilities cleaning up any now unnecessary goto paths. Signed-off-by: John Ferlan Reviewed-by: Erik Skultety --- src/conf/domain_conf.c| 26 ++ src/conf/storage_conf.c | 3 +-- src/qemu/qemu_parse_command.c | 3 +--