Memory Leak Problem on setStaticShape?

jonathanblacknight

17-03-2011 06:29:38

I'm using Visual Leak detector to find memory leaks in my application and i get 2 erros

d:\ogresdk\addons\ogrebullet\dynamics\src\ogrebulletdynamicsrigidbody.cpp (103): OgreBulletDynamics::RigidBody::setStaticShape

and

d:\ogresdk\addons\bullet-2.77\src\linearmath\btalignedallocator.cpp (24): btAllocDefault
d:\ogresdk\addons\bullet-2.77\src\linearmath\btalignedallocator.cpp (67): btAlignedAllocDefault
d:\ogresdk\addons\bullet-2.77\src\linearmath\btalignedallocator.cpp (164): btAlignedAllocInternal
d:\ogresdk\addons\bullet-2.77\src\bulletcollision\collisiondispatch\btcollisionobject.h (115): btCollisionObject::operator new
d:\ogresdk\addons\ogrebullet\dynamics\src\ogrebulletdynamicsrigidbody.cpp (116): OgreBulletDynamics::RigidBody::setStaticShape

Note: I'm using a Tri Mesh Shape created by OgreBulletCollisions::StaticMeshToShapeConverter method