btPairCachingGhostObject memory leak

homare
Posts: 2
Joined: Wed Feb 25, 2009 11:10 am

btPairCachingGhostObject memory leak

Post by homare »

Hi, I found memory leak in v2.74 beta1, and fixed it.

Code: Select all

btPairCachingGhostObject::~btPairCachingGhostObject()
{
	m_hashPairCache->~btHashedOverlappingPairCache();		// <--
	btAlignedFree( m_hashPairCache );
}
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: btPairCachingGhostObject memory leak

Post by Erwin Coumans »

Thanks, we'll fix it for upcoming 2.74 release.