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

2019-02-08 Thread John Ferlan
On 2/7/19 9:32 AM, Erik Skultety wrote: > On Wed, Feb 06, 2019 at 08:41:41AM -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 >> --- > > [snip] > >> @@ -3804,7 +3713,7 @@ virStorageBa

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

2019-02-07 Thread Erik Skultety
On Wed, Feb 06, 2019 at 08:41:41AM -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 > --- [snip] > @@ -3804,7 +3713,7 @@ virStorageBackendSCSINewLun(virStoragePoolObjPtr pool, > { > vi

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

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