Fix typo in memory.go