Re: [libvirt] [PATCH v2 10/32] storage: Use VIR_AUTOPTR(virString)

2019-02-11 Thread Ján Tomko
On Fri, Feb 08, 2019 at 01:37:04PM -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/storage/storage_backend_iscsi_direct.c | 3 +-

[libvirt] [PATCH v2 10/32] storage: Use VIR_AUTOPTR(virString)

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/storage/storage_backend_iscsi_direct.c | 3 +- src/storage/storage_backend_sheepdog.c | 6 +-- src/storage/storage_backend_zfs.c