diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-04-10 18:49:38 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-04-10 18:49:38 +0000 |
commit | fb3078fb6208b432c9874119deee4e6a350ac456 (patch) | |
tree | 414758d01df9d53a541b6157cc7fd1adbb659d55 /Eigen/src | |
parent | 7254201632472d98dba557f32a8bc5338a0b954a (diff) |
fix memory leak in superlu backend
Diffstat (limited to 'Eigen/src')
-rw-r--r-- | Eigen/src/Sparse/SuperLUSupport.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<MatrixType,SuperLU> : public SparseLU<MatrixType> ~SparseLU() { + Destroy_SuperNode_Matrix(&m_sluL); + Destroy_CompCol_Matrix(&m_sluU); } inline const LMatrixType& matrixL() const |