Fixed another valgrind error.