Re: [PATCH] Fix memory leak in virSCSIDeviceListDel()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/22/2014 09:00 PM, Nehal J Wani wrote:
> While running virscsitest, it was found that valgrind pointed out the following
> memory leak:
> 
> ==320== 5 bytes in 1 blocks are definitely lost in loss record 4 of 37
> ==320==    at 0x4A069EE: malloc (vg_replace_malloc.c:270)
> ==320==    by 0x3E6CE81171: strdup (strdup.c:43)
> ==320==    by 0x4CB28DF: virStrdup (virstring.c:554)
> ==320==    by 0x4CAC987: virSCSIDeviceSetUsedBy (virscsi.c:289)
> ==320==    by 0x402321: test2 (virscsitest.c:100)
> ==320==    by 0x403231: virtTestRun (testutils.c:199)
> ==320==    by 0x402121: mymain (virscsitest.c:180)
> ==320==    by 0x4039AD: virtTestMain (testutils.c:782)
> ==320==    by 0x3E6CE1ED1C: (below main) (libc-start.c:226)
> ==320==
> 
> ---
>  src/util/virscsi.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 

ACK and pushed.

Jan


Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]