Possible memory leak || what I am doing wrong

joseph Dobson dobson156 at gmail.com
Mon Sep 5 21:55:45 UTC 2011


Hi, according to valgrind taglib always leave 32bytes on exit. I am using
taglib 1.7-3 that is provided from arch repository.

code is attached as is valgrind log.

I am compile with (have compile a non c++0x version and get the some result)
g++ id3.cpp -std=c++0x -ltag -I/usr/include/taglib
and it compiles and links just fine


and valgrinding with
valgrind --leak-check=full --show-reachable=yes ./a.out

I noted that the example that are packages with the tarball also produce the
same results. and looping over many file produces the same size.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20110905/f0792246/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: id3.cpp
Type: text/x-c++src
Size: 1452 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20110905/f0792246/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: val.out
Type: application/octet-stream
Size: 2996 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20110905/f0792246/attachment.obj>


More information about the taglib-devel mailing list