|
From: David C. <dcc...@ac...> - 2013-06-12 07:38:25
|
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 dcc...@ac...
Chapman Consulting -- San Jose, CA
Software Development Done Right.
www.chapman-consulting-sj.com
|