diff --git a/src/maths/KLU/klusmp.c b/src/maths/KLU/klusmp.c index 6fefebc09..2acae11cd 100644 --- a/src/maths/KLU/klusmp.c +++ b/src/maths/KLU/klusmp.c @@ -136,6 +136,7 @@ void SMPconvertCOOtoCSC (SMPmatrix *Matrix) MatrixCOO [i].group = 0 ; current = temp ; temp = temp->next ; + free (current->pointer) ; free (current) ; current = NULL ; i++ ;