There was a memory leak due to not free'ing the space allocated for 'th' and 'hcoef'. It was necessary to use two calls to freearray (instead of setting the icopy flag of hspline to 2) to make it secure even if the routine exits via a goto.
There was a memory leak due to not free'ing the space allocated for 'th'
and 'hcoef'.
It was necessary to use two calls to freearray (instead of setting the
icopy flag of hspline to 2) to make it secure even if the routine exits
via a goto.


SINTEF-Geometry/SISL