Monday, March 29, 2010

check memory leak with Valgrind

Why Valgrind?
* It's free.
* It's open-source.
* It's easy to use.
Is that still not enough?

After installation:
$ valgrind -v --leak-check=yes yourprogram

That's all :)

No comments :