This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH OBVIOUS]Fix memory leak in tree-predcom.c


On Fri, Nov 3, 2017 at 1:36 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> I ran into this memory leak issue in tree-predcom.c when investigating other PRs.
> This is the obvious fix by freeing reference of trivial component.
> Bootstrap and test on x86_64.  Is it OK?

Ok.

Thanks,
Richard.

> Thanks,
> bin
> 2017-11-02  Bin Cheng  <bin.cheng@arm.com>
>
>         * tree-predcom.c (determine_roots_comp): Avoid memory leak by freeing
>         reference of trivial component.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]