As suggested in a previous thread [0] this patch adds some missing
calls
to libxl_dominfo_{init,dispose} when doing some of the libxl_domain_info
operations which would otherwise lead to memory leaks.
[0]
https://www.redhat.com/archives/libvir-list/2015-September/msg00519.html
Signed-off-by: Joao Martins <joao.m.martins(a)oracle.com>
---
Changes since v1:
- Add missing libxl_dominfo_init() on MemoryStats and GetInfo()
---
src/libxl/libxl_driver.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
Thanks, looks good now. ACK and pushed.
Regards,
Jim