How on earth did valgrind detect this?