Fixed a memory leak
This commit is contained in:
parent
6da4c076fd
commit
48c41fb00f
|
|
@ -136,6 +136,7 @@ void SMPconvertCOOtoCSC (SMPmatrix *Matrix)
|
||||||
MatrixCOO [i].group = 0 ;
|
MatrixCOO [i].group = 0 ;
|
||||||
current = temp ;
|
current = temp ;
|
||||||
temp = temp->next ;
|
temp = temp->next ;
|
||||||
|
free (current->pointer) ;
|
||||||
free (current) ;
|
free (current) ;
|
||||||
current = NULL ;
|
current = NULL ;
|
||||||
i++ ;
|
i++ ;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue