Re: [libvirt] [PATCH v2 15/32] storage: Use VIR_AUTOFREE for storage util

2019-02-11 Thread Ján Tomko
On Fri, Feb 08, 2019 at 01:37:09PM -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 --- src/storage/storage_util.c | 335 + 1 file changed, 113 insertions(+), 222

Re: [libvirt] [PATCH v2 15/32] storage: Use VIR_AUTOFREE for storage util

2019-02-11 Thread Erik Skultety
On Fri, Feb 08, 2019 at 01:37:09PM -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 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com

[libvirt] [PATCH v2 15/32] storage: Use VIR_AUTOFREE for storage util

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 --- src/storage/storage_util.c | 335 + 1 file changed, 113 insertions(+), 222 deletions(-) diff --git a/src/storage/storage_util.c b/src/