Today I installed valgrind on my Mac os x 10.6 and tried to test it out. And it turned out to be weird memory leaks in the system. What I did was just create simple c file t
And for Mac OS X Lion, you should use this suppression file : https://github.com/svn2github/valgrind/blob/master/darwin11.supp
You may need to use a valgrind suppressions file for Mac. Looks like some process-wide memory is allocated by not freed when the process exits. Try with valgrind --suppressions=<path to suppression file>
.