[libvirt] [PATCH 1/3] xenParseXLVnuma: Don't leak @tmp and @token

John Ferlan jferlan at redhat.com
Tue Dec 12 14:30:07 UTC 2017



On 12/12/2017 09:10 AM, Michal Privoznik wrote:
> ==30399== 180 (144 direct, 36 indirect) bytes in 3 blocks are definitely lost in loss record 91 of 111
> ==30399==    at 0x4C2E0FF: realloc (vg_replace_malloc.c:785)
> ==30399==    by 0x5574572: virReallocN (viralloc.c:245)
> ==30399==    by 0x5574668: virExpandN (viralloc.c:294)
> ==30399==    by 0x55747AB: virResizeN (viralloc.c:352)
> ==30399==    by 0x560074D: virStringSplitCount (virstring.c:115)
> ==30399==    by 0x137A59: xenParseXLVnuma (xen_xl.c:442)
> ==30399==    by 0x13952B: xenParseXL (xen_xl.c:1064)
> ==30399==    by 0x11884D: testCompareFormatXML (xlconfigtest.c:152)
> ==30399==    by 0x118A87: testCompareHelper (xlconfigtest.c:207)
> ==30399==    by 0x119E36: virTestRun (testutils.c:180)
> ==30399==    by 0x119186: mymain (xlconfigtest.c:274)
> ==30399==    by 0x11BEE3: virTestMain (testutils.c:1119)
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/xenconfig/xen_xl.c | 2 ++
>  1 file changed, 2 insertions(+)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list