fix memory leak in superlu backend

This commit is contained in:
Gael Guennebaud
2009-04-10 18:49:38 +00:00
parent 7254201632
commit fb3078fb62

View File

@@ -287,6 +287,8 @@ class SparseLU<MatrixType,SuperLU> : public SparseLU<MatrixType>
~SparseLU() ~SparseLU()
{ {
Destroy_SuperNode_Matrix(&m_sluL);
Destroy_CompCol_Matrix(&m_sluU);
} }
inline const LMatrixType& matrixL() const inline const LMatrixType& matrixL() const