[libvirt] [PATCH 0/4] util: Few more VIR_AUTO... related cleanups

Peter Krempa posted 4 patches 5 years, 2 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1550851418.git.pkrempa@redhat.com
src/lxc/lxc_process.c                  |  2 +-
src/qemu/qemu_conf.c                   |  8 +--
src/storage/storage_backend_sheepdog.c |  4 +-
src/storage/storage_backend_zfs.c      | 10 ++--
src/util/viralloc.h                    | 70 +++++++++++++++++++++++++-
src/util/vircommand.c                  |  2 +-
src/util/virfirewall.c                 |  2 +-
src/util/virprocess.c                  |  2 +-
src/util/virstoragefile.c              | 10 ++--
src/util/virstring.h                   |  2 +-
src/xenconfig/xen_common.c             |  6 +--
11 files changed, 93 insertions(+), 25 deletions(-)
[libvirt] [PATCH 0/4] util: Few more VIR_AUTO... related cleanups
Posted by Peter Krempa 5 years, 2 months ago
Document that VIR_AUTOPTR should not be used with vectors ...

Peter Krempa (4):
  util: alloc: Remove pointless clearing of variable in AUTOPTR_FUNCs
  util: alloc: Introduce macro for self-freeing NULL-terminated lists
  util: string: Use VIR_AUTOLISTPTR for 'virString'
  util: alloc: Note that VIR_AUTOPTR/VIR_AUTOCLEAN must not be used with
    vectors

 src/lxc/lxc_process.c                  |  2 +-
 src/qemu/qemu_conf.c                   |  8 +--
 src/storage/storage_backend_sheepdog.c |  4 +-
 src/storage/storage_backend_zfs.c      | 10 ++--
 src/util/viralloc.h                    | 70 +++++++++++++++++++++++++-
 src/util/vircommand.c                  |  2 +-
 src/util/virfirewall.c                 |  2 +-
 src/util/virprocess.c                  |  2 +-
 src/util/virstoragefile.c              | 10 ++--
 src/util/virstring.h                   |  2 +-
 src/xenconfig/xen_common.c             |  6 +--
 11 files changed, 93 insertions(+), 25 deletions(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list