Added --leak-check=full when running valgrind.