[libvirt] [PATCH] Resolve valgrind error

Eric Blake eblake at redhat.com
Mon Apr 15 17:07:28 UTC 2013


On 04/15/2013 10:49 AM, John Ferlan wrote:
> Commit id '1acfc171' resulted in the following valgrind failure:
> 
> ==25317== 136 (24 direct, 112 indirect) bytes in 1 blocks are definitely lost in loss record 4 of 4
> ==25317==    at 0x4A06B6F: calloc (vg_replace_malloc.c:593)
> ==25317==    by 0x4C6F851: virAlloc (viralloc.c:124)
> ==25317==    by 0x4C71493: virBitmapNew (virbitmap.c:74)
> ==25317==    by 0x4C71B79: virBitmapNewData (virbitmap.c:434)
> ==25317==    by 0x402EF2: test8 (virbitmaptest.c:436)
> ==25317==    by 0x40499F: virtTestRun (testutils.c:157)
> ==25317==    by 0x402E8D: mymain (virbitmaptest.c:474)
> ==25317==    by 0x404FDA: virtTestMain (testutils.c:719)
> ==25317==    by 0x39D0821A04: (below main) (in /usr/lib64/libc-2.16.so)
> ---
>  tests/virbitmaptest.c | 15 ++++++++-------
>  1 file changed, 8 insertions(+), 7 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130415/81f3b869/attachment-0001.sig>


More information about the libvir-list mailing list