Go vet is smart.
Fix segfaults exposed by benchmarks.