On 08.03.2021 13:44, Allin Cottrell wrote:
On Mon, 8 Mar 2021, Marcin Błażejowski wrote:

Hi,

there is a double free detected in tcache 2:
<hansl>
function void foo (const scalar *X)
    X += 1
    eval X
end function

Z = 1
foo(Z)
</hansl>

When I run this I just get the expected error:

<output>
? foo(Z)
foo: argument 1 is of the wrong type (is scalar, should be scalar *)
Terminated on error
</output>

Ok,

I've updated the source and it is ok now. Sorry for mess.

Marcin

--
Marcin Błażejowski
_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

Reply via email to