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