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

2017-11-03 Thread Richard Biener
On Fri, Nov 3, 2017 at 1:36 PM, Bin Cheng 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 > 20

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

2017-11-03 Thread Bin Cheng
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? Thanks, bin 2017-11-02 Bin Cheng * tree-predcom.c (determine_roots_comp): Avoid memory leak