Fixed a memory leak

This commit is contained in:
Francesco Lannutti 2020-08-26 20:41:51 +02:00 committed by Holger Vogt
parent 33eec95855
commit 613ae18db9
1 changed files with 1 additions and 0 deletions

View File

@ -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++ ;