Re: Memory leaks

Neal Norwitz <[email protected]> Tue, 25 Oct 2005 10:09:00 -0700
Newsgroups gmane.comp.python.compiler
Message-ID <[email protected]>
On 10/25/05, Neil Schemenauer <[email protected]> wrote:
>
> Should be fixed.

Thanks.

> While poking around I noticed a large number of theoretical
> leaks.  Code like:
>
>     return Delete(expr_list, LINENO(n));
>
> when it should be:
>
>     r = Delete(expr_list, LINENO(n));
>     if (!r)
>         asdl_free_free(expr_list);
>     return r;
>
> How tedious.

Yup, I think I got a bunch of outstanding changes for some of those,
but there are many, many more.

n