aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-04-10 18:49:38 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-04-10 18:49:38 +0000
commitfb3078fb6208b432c9874119deee4e6a350ac456 (patch)
tree414758d01df9d53a541b6157cc7fd1adbb659d55 /Eigen/src
parent7254201632472d98dba557f32a8bc5338a0b954a (diff)
fix memory leak in superlu backend
Diffstat (limited to 'Eigen/src')
-rw-r--r--Eigen/src/Sparse/SuperLUSupport.h2
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