This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch #PR 25933] memory leaks
Uttam Pawar <uttamp@us.ibm.com> writes:
> 2006-01-23 Uttam Pawar <uttamp@us.ibm.com>
>
> PR middle-end/25933
> * loop-unroll.c (unroll_loop_runtime_iterations): Fix for
> a memory leak.
> * tree-ssa-live.c (type_var_init): Fix for a memory leak.
I should have mentioned this before, but the ChangeLog entry should
say what you did, not why.
This is OK with this ChangeLog entry:
* loop-unroll.c (unroll_loop_runtime_iterations): Free
dom_bbs.
* tree-ssa-live.c (type_var_init): Allocate bitmap after
call to tpa_init.
Go ahead and commit it.
Thanks!
Ian