[Compiler-sig] Memory leaks
Neal Norwitz
nnorwitz at gmail.com
Tue Oct 25 19:09:00 CEST 2005
On 10/25/05, Neil Schemenauer <nas at arctrix.com> 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
More information about the Compiler-sig
mailing list