Memory Leak in btMLCPSolver

Post Reply
nickak2003
Posts: 8
Joined: Thu Mar 04, 2010 10:35 pm

Memory Leak in btMLCPSolver

Post by nickak2003 » Sat Jan 11, 2020 8:26 pm

~btMLCPSolver should delete m_solver; given that m_solver was newed. Right now it leaks instead, especially during: ~btConstraintSolverPoolMt. Which is how I Discovered this issue. Another solution is to not have the ~btConstraintSolverPoolMt delete anything, which I would prefer.

Post Reply