use SP_FREE
This commit is contained in:
parent
645f968e77
commit
74e77e909b
|
|
@ -654,7 +654,7 @@ AllocationListPtr ListPtr, NextListPtr;
|
|||
ListPtr = Matrix->TopOfAllocationList;
|
||||
while (ListPtr != NULL)
|
||||
{ NextListPtr = ListPtr->NextRecord;
|
||||
free( ListPtr->AllocatedPtr );
|
||||
SP_FREE( ListPtr->AllocatedPtr );
|
||||
ListPtr = NextListPtr;
|
||||
}
|
||||
return;
|
||||
|
|
@ -683,7 +683,7 @@ spErrorState( MatrixPtr Matrix )
|
|||
|
||||
if (Matrix != NULL)
|
||||
{ ASSERT_IS_SPARSE( Matrix );
|
||||
return (Matrix)->Error;
|
||||
return Matrix->Error;
|
||||
}
|
||||
else return spNO_MEMORY; /* This error may actually be spPANIC,
|
||||
* no way to tell. */
|
||||
|
|
|
|||
|
|
@ -996,7 +996,7 @@ int I, *pExtOrder;
|
|||
* Norm (RealNumber)
|
||||
* L-infinity norm of a complex number.
|
||||
* Size (int)
|
||||
* Local storage for Matrix->Size. Placed in a for speed.
|
||||
* Local storage for Matrix->Size. Placed in a register for speed.
|
||||
* Temp (RealNumber)
|
||||
* Temporary storage for real portion of determinant.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue