On Thu, 2009-07-23 at 14:56 +0530, Idaya Nirma wrote:

> ==9542== LEAK SUMMARY:
> ==9542==    definitely lost: 0 bytes in 0 blocks.
> ==9542==      possibly lost: 0 bytes in 0 blocks.
> ==9542==    still reachable: 16,884 bytes in 685 blocks.
> ==9542==         suppressed: 0 bytes in 0 blocks.
> 
> Is these errors comes from my code or in bin/bash calls,
> am runnig the application using the script so am getting these
> errors,so is the leaks because of running a shell script?
> Hel pme on this plz

Still reachable means just that, at the time the program exited,
pointers to the heap blocks existed. This usually means memory allocated
in main() was not freed when the program terminated, the program just
relied on the OS to reclaim the memory.

Its not exactly the best practice to do that, but not a 'leak' by
definition.

Cheers,
--Tim



------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to