Re: [libvirt] [PATCH v2 22/32] tests: Use VIR_AUTOFREE for various storage tests

2019-02-11 Thread Ján Tomko
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 Reviewed-by: Erik Skultety --- tests/storagebackendsheepdogtest.c | 50 --

[libvirt] [PATCH v2 22/32] tests: Use VIR_AUTOFREE for various storage tests

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 --- tests/storagebackendsheepdogtest.c | 50 -- tests/storagepoolxml2argvtest.c| 18 +++