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

[libvirt] [PATCH 0/4] more memory leak patches

More in the ongoing battle to make libvirtd not so leaky.

Also related, and still waiting on a review for:

virExec (and thus virCommand) have undefined behavior

avoid matchpathcon memory leak (although libselinux 2.0.97 finally
patched that leak upstream)

The leak in qemu_conf covered in patch 3 was introduced with the
conversion to virCommand; if you like patch 4, I'd rather combine
those into one patch (but patch 3 is a minimal plug).

Eric Blake (4):
  tests: plug memory leaks
  conf: plug memory leaks
  qemu: plug memory leak
  command: ease use with virBuffer

 src/conf/domain_conf.c   |   10 ++++++++++
 src/libvirt_private.syms |    2 ++
 src/qemu/qemu_conf.c     |   42 +++++++++---------------------------------
 src/util/command.c       |   43 +++++++++++++++++++++++++++++++++++++++++++
 src/util/command.h       |   17 +++++++++++++++++
 tests/qemuxml2argvtest.c |    3 +--
 6 files changed, 82 insertions(+), 35 deletions(-)


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