diff --git a/Eigen/src/Sparse/SuperLUSupport.h b/Eigen/src/Sparse/SuperLUSupport.h index cf0f802ed..6df94e35b 100644 --- a/Eigen/src/Sparse/SuperLUSupport.h +++ b/Eigen/src/Sparse/SuperLUSupport.h @@ -287,6 +287,8 @@ class SparseLU : public SparseLU ~SparseLU() { + Destroy_SuperNode_Matrix(&m_sluL); + Destroy_CompCol_Matrix(&m_sluU); } inline const LMatrixType& matrixL() const