On Fri, Feb 08, 2019 at 01:37:16PM -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>
---
tests/storagebackendsheepdogtest.c | 50 ++++++++++++------------------
tests/storagepoolxml2argvtest.c | 18 +++--------
tests/storagepoolxml2xmltest.c | 33 ++++++--------------
tests/storagevolxml2argvtest.c | 42 +++++++++----------------
tests/storagevolxml2xmltest.c | 38 +++++++----------------
tests/virstoragetest.c | 45 +++++++--------------------
tests/virstorageutiltest.c | 7 ++---
7 files changed, 75 insertions(+), 158 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano