On 6/12/2013 12:01 AM, Sanjay Kumar (sanjaku5) wrote:
Hi,
I run my program using valgrind to detect the memory leaks
valgrind -v --tool=memcheck --leak-check=full ./binary -f conf.file
But it doesn't show leaks, even I create one leak of 10000 bytes in
the code.
Any wild guess ??
What happens if you create a simple program that does nothing but
allocate 10000 bytes and then exits? I presume that the program you
describe above cannot be posted on the Internet; try to create a test
case as small as possible.
And of course it would be good to know what version of Valgrind you are
using, and on what platform.
--
David Chapman dcchap...@acm.org
Chapman Consulting -- San Jose, CA
Software Development Done Right.
www.chapman-consulting-sj.com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users