Valgrind may be obtained from the following locations:
http://developer.kde.org/~sewardj/
http://freshmeat.net/projects/valgrind/
Uncompress, compile and install it:
#tar xvfz valgrind-1.0.0.tar.gz #cd valgrind-1.0.0 #./configure #make #make install
Add the path to your path variable. Now valgrind is ready to catch the bugs.
path