dangerdaveCS
24-02-2010 16:50:29
I'm only just finding my feet with Ogre, Bullet and OgreBullet. Today I came up against a memory leak I just could not fathom. I finally traced it to the fact that OgreBulletDynamics::VehicleTuning allocates a btRaycastVehicle::btVehicleTuning in its constructor, but does not delete it in its destructor.
Perhaps the btVehicleTuning object is meant to be deallocated externally and I've just not got my main OgreBullet objects set up correct, but I tentatively suspect this is indeed a bug...?
Perhaps the btVehicleTuning object is meant to be deallocated externally and I've just not got my main OgreBullet objects set up correct, but I tentatively suspect this is indeed a bug...?