Memory leak in ResourceSystem?

Rhys

25-09-2008 15:13:14

Hm...don't know if this was mentioned before (I found nothing)...

I get a little memory leak when creating NxOgre::World object. Tracking down this issue leads me to the constructor of the class "ResourceSystem", to the call of "setCallback(new DefaultResourceCallback(), GC_Delete );"

This callback will not be deleted on class destruction, as far as I can see.

If I am right, someone should correct this issue in the destructor of ResourceSystem.