Re: [libvirt] [PATCH v2 04/32] conf: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStoragePoolSource

2019-02-11 Thread Ján Tomko
On Fri, Feb 08, 2019 at 01:36:58PM -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/storage_conf.c| 4 ++-- src/conf/storage_conf.h

[libvirt] [PATCH v2 04/32] conf: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStoragePoolSource

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/storage_conf.c| 4 ++-- src/conf/storage_conf.h| 2 ++ src/storage/storage_backend_fs.c