Finding a memory leak

It’s this work-in-progress game: