fix memory leak in grid
Merge branch 'master' of github.com:gamemachine/gamemachine