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 <jferlan(a)redhat.com>
Reviewed-by: Erik Skultety <eskultet(a)redhat.com>
---
src/conf/domain_conf.c | 26 ++++++++++----------------
src/conf/storage_conf.c | 3 +--
src/qemu/qemu_parse_command.c | 3 +--
src/util/virstoragefile.c | 16 ++++++----------
src/util/virstoragefile.h | 2 ++
5 files changed, 20 insertions(+), 30 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano