Fix horrible typo/memory re-use bug.