Quantcast
Channel: Linux Programming Blog
Viewing all articles
Browse latest Browse all 10

Using Valgrind to debug memory leaks

$
0
0

Valgrind is a wonderful tool useful mainly to debug memory related problems in C/C++ programs. I don't know a better tool to find memory leaks. Although output of this program is often clear and intuitive it's worth to spend some time to get deeper knowledge of how Valgrind works, what exactly its messages mean and what are the problematic cases when tracing a memory leak is harder even with Valgrind.

read more


Viewing all articles
Browse latest Browse all 10

Trending Articles