Windows: Fixed builds with LeakFinder enabled.
cRoot: Fixed a memory leak with cRankManager.