Skip to content

Fix memory leak in vtkMath::SolveLeastSquares.

T.J. Corona requested to merge tjcorona/vtk:solveleastsquares-memory-leak into master

This fix is in reference to issue #2698 (closed). During the execution of method vtkMath::SolveLeastSquares, if a matrix inversion failed then the method would exit without dealocating locally allocated memory. This Fix corrects this behavior.

Merge request reports