"Marco Maggi" wrote:
>in GSL 1.8 am I correct in saying that in function
>'gsl_siman_solve()' in "siman.c" on line 116 and 125
>there should be a call to:
>
>   destructor(x);
>
>before overwriting 'x' with the accepted new configuration?
>
>Also, at the end of the function, line 158, the start
>configuration is overwritten without a call to:
>
>   destructor(x0_p);
>

I am wrong here (too early in the morning): I understand
that it is responsibility of the copy function to
act upon the target structure to to free resources before
overwriting the fields.

--
Marco Maggi




_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to