Re: [libvirt] [PATCH v3 2/8] storage: Use VIR_AUTOFREE for storage backends

2019-02-12 Thread Ján Tomko
On Tue, Feb 12, 2019 at 09:19:00AM -0500, John Ferlan wrote: Let's make use of the auto __cleanup capabilities. This also allows for the cleanup of some goto paths. Signed-off-by: John Ferlan --- src/storage/storage_backend.c | 9 +-- src/storage/storage_backend_disk.c |

[libvirt] [PATCH v3 2/8] storage: Use VIR_AUTOFREE for storage backends

2019-02-12 Thread John Ferlan
Let's make use of the auto __cleanup capabilities. This also allows for the cleanup of some goto paths. Signed-off-by: John Ferlan --- src/storage/storage_backend.c | 9 +-- src/storage/storage_backend_disk.c | 62 +++ src/storage/storage_backend_fs.c