Re: [PATCH v2 32/32] util: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStorageSource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 08, 2019 at 01:37:26PM -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 <jferlan@xxxxxxxxxx>
---
src/conf/domain_conf.c                |   3 +-
src/qemu/qemu_domain.c                |   3 +-
src/qemu/qemu_driver.c                |   9 +-
src/qemu/qemu_migration.c             |   3 +-
src/storage/storage_backend_gluster.c |   3 +-
src/storage/storage_util.c            |  25 ++---
src/util/virstoragefile.c             | 141 +++++++++++---------------
src/util/virstoragefile.h             |   1 +
tests/qemublocktest.c                 |   6 +-
tests/virstoragetest.c                |  50 ++++-----
10 files changed, 97 insertions(+), 147 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux