On Tue, Feb 12, 2019 at 09:19:06AM -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: Ján Tomko <jtomko(a)redhat.com>
This was the only patch I got in 'cc:'. If that was not intentional,
check your git settings - there was a change in behavior in 2.20:
https://lwn.net/Articles/774686/
Jano
---
src/conf/domain_conf.c | 3 +-
src/qemu/qemu_domain.c | 3 +-
src/qemu/qemu_driver.c | 9 +-
src/qemu/qemu_migration.c | 3 +-
src/storage/storage_backend_gluster.c | 3 +-
src/storage/storage_util.c | 25 ++---
src/util/virstoragefile.c | 141 +++++++++++---------------
src/util/virstoragefile.h | 1 +
tests/qemublocktest.c | 6 +-
tests/virstoragetest.c | 50 ++++-----
10 files changed, 97 insertions(+), 147 deletions(-)