Re: [libvirt] [PATCH v2 16/32] conf: Use VIR_AUTOFREE for storage_conf

2019-02-11 Thread Ján Tomko
On Fri, Feb 08, 2019 at 01:37:10PM -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 --- src/conf/storage_conf.c | 179 +--- 1 file cha

[libvirt] [PATCH v2 16/32] conf: Use VIR_AUTOFREE for storage_conf

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 --- src/conf/storage_conf.c | 179 +--- 1 file changed, 74 insertions(+), 105 deletions(-) diff --git a/src/co