[libvirt PATCH 0/7] valgrind-inspired fixes

Ján Tomko jtomko at redhat.com
Sat Feb 22 00:24:05 UTC 2020


First, clean up some valgrind noise.
Then, fix some reported leaks in the test suite.
Last, refactor some touched tests.

Ján Tomko (7):
  tests: valgrind.supp: suppress g_type_register_static leaks
  tests: valgrind: do not trace system binaries
  qemumonitorjsontest: do not leak qapiData.schema
  qemumonitorjsontest: use virCPUDefNew()
  virsystemdtest: do not leak socket path
  qemumonitorjsontest: GetCPUModelComparison: use g_auto
  qemumonitorjsontest: GetCPUModelBaseline: use g_auto

 tests/.valgrind.supp        | 13 +++++++++++++
 tests/Makefile.am           |  2 +-
 tests/qemumonitorjsontest.c | 29 ++++++++---------------------
 tests/virsystemdtest.c      |  5 ++++-
 4 files changed, 26 insertions(+), 23 deletions(-)

-- 
2.24.1




More information about the libvir-list mailing list