Fix my typo that meant that we trampled on unowned memory.

Almost pinpointed by Martin using Valgrind.