Hello.
I'm on GMS14.
If I run this in VM everything appears to work fine, but, when compiled with YYC, program appears to leak memory on every received array.
Am I doing something wrong?
edit: I'm using fixed .dll that is not bound to debug runtime.
<object0.create>
state = lua_state_create();
lua_add_file(state, "test.lua");
lua_call(state,"fill");
<object0.draw>
var in = lua_global_get(state,"out");
<test.lua>
out = {}
function fill( )
for offs=1, 5000 do
out[offs] = math.random(0,255)
end
end