Prevent memory leaks in Game::exec()