Fixed memory leak in class GameTree