Cppcheck is a static analyzer for C and C++ code. It is open-source, free, cross-platform and easy-to-use.
The project's website: http://cppcheck.sourceforge.net/
Cppcheck is an open-source, free tool distributed under the GNU General Public License. Daniel Marjamäki is the project's author (his profile on StackOverflow). The project's source code can be downloaded from the github website.