Re: [libvirt] [PATCH 0/2] tests: fix memleak in qemumonitorjsontest

2015-04-28 Thread Michal Privoznik
On 28.04.2015 03:16, Zhang Bo wrote:
 the free callback should be qemuMonitorChardevInfoFree rather than just 'free'
 when virHashCreate'ing the chardevInfo hash.
 
 Zhang Bo (2):
   qemu: make qemuMonitorChardevInfoFree non-static
   tests: free ChardevInfo correctly in qemumonitorjsontest
 
  src/qemu/qemu_monitor.c | 2 +-
  src/qemu/qemu_monitor.h | 1 +
  tests/qemumonitorjsontest.c | 4 ++--
  3 files changed, 4 insertions(+), 3 deletions(-)
 

ACKed and pushed.

Michal

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


[libvirt] [PATCH 0/2] tests: fix memleak in qemumonitorjsontest

2015-04-27 Thread Zhang Bo
the free callback should be qemuMonitorChardevInfoFree rather than just 'free'
when virHashCreate'ing the chardevInfo hash.

Zhang Bo (2):
  qemu: make qemuMonitorChardevInfoFree non-static
  tests: free ChardevInfo correctly in qemumonitorjsontest

 src/qemu/qemu_monitor.c | 2 +-
 src/qemu/qemu_monitor.h | 1 +
 tests/qemumonitorjsontest.c | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

-- 
1.7.12.4


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