Fix some leaks.
There is only one leak remaining from Pathfinder Grid, krofna, good luck :p