Goplat <[EMAIL PROTECTED]> wrote:

> Attached patch adds native exec support for win32's COFF format .o files. I
> had to change some code that assumed the bytecode being used was from the
> interpreter->code->src block, which wasn't the case when it's not being mmaped.
The bytecode is at interpreter->code->cur_cs->base.data and is
->base.size opcodes long. code->src shouldn't be used outside of
packfile.

> -    mem_sys_free(program_code);
> +/* XXX Parrot_exec uses this
> +    mem_sys_free(program_code); */

Can you use base.data to get rid of this memory leak?
Or free it, if not running exec core?

I've applied it as is, thanks
leo

Reply via email to