[libvirt] [PATCH v2] libxl: dispose libxl_dominfo after libxl_domain_info()

Jim Fehlig jfehlig at suse.com
Thu Jan 21 16:58:05 UTC 2016


Joao Martins wrote:
> 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 at 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




More information about the libvir-list mailing list