Minor valgrind fix