Update the Makefile.
CXXFLAGS=-Wall -pedantic -g -fprofile-arcs -ftest-coverage

make clean
make test

gcov --object-directory src/ src/checkmemoryleak.cpp