Spent today fixing a number of memory leaks in the client.

Ran the Visual Leak Detector, and these were the results, no joke:

Visual Leak Detector

Number of the geek!

There aren’t literally that many memory leaks, it’s misleading – simply not calling delete on a new can cause dozens of leaks according to VLD. In this case the majority seem to come from Ogre’s internals, as if root hasn’t been deleted, when in fact it has. *Sigh*, that’s what you get for using an unstable version.