[PATCH 0/7] Introduce automatic clearing for virBuffer

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

 



First 4 patches clean up existing mess.

Note that this series both fixes and then deletes virBufferEscapeN.
The split is deliberate, so that if somebody needs virBufferEscapeN
in the future they can revert the removal and get a working version.

Peter Krempa (7):
  util: buffer: Remove misleading AUTOPTR func for 'virBuffer'
  util: buf: Fix memory leak in virBufferEscapeN
  tests: buf: Fix debug messages in 'testBufEscapeRegex'
  util: buf: Remove virBufferEscapeN
  util: alloc: Introduce 'VIR_AUTOCLEAN' macros for clearing stack'd
    structs
  util: buffer: Introduce VIR_AUTOCLEAN function for virBuffer
  qemu: domain: Use VIR_AUTOCLEAN for virBuffer

 src/libvirt_private.syms |   1 -
 src/qemu/qemu_domain.c   |  27 +++-------
 src/util/viralloc.h      |  32 +++++++++++-
 src/util/virbuffer.c     | 107 ---------------------------------------
 src/util/virbuffer.h     |   7 ++-
 tests/virbuftest.c       |  57 +++++----------------
 6 files changed, 56 insertions(+), 175 deletions(-)

-- 
2.20.1


[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