On Tue, Feb 12, 2019 at 09:19:02AM -0500, John Ferlan wrote:
Modify code to use the VIR_AUTOCLOSE logic cleaning up any
now unnecessary goto paths.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
Reviewed-by: Erik Skultety <eskultet(a)redhat.com>
---
src/storage/storage_backend_logical.c | 3 +-
src/storage/storage_backend_scsi.c | 13 +--
src/storage/storage_file_fs.c | 15 +--
src/storage/storage_util.c | 143 +++++++++-----------------
src/util/virstoragefile.c | 39 +++----
5 files changed, 74 insertions(+), 139 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano