Valgrind cleanliness for scan