Re: [PATCH] More memory leak fixes

2025-01-12 Thread Richard Biener
25:35 +0100 Subject: [PATCH] More memory leak fixes To: gcc-patches@gcc.gnu.org The following were found compiling SPEC CPU 2017 with valgrind. * tree-vect-slp.cc (vect_analyze_slp): Release saved_stmts vector. (vect_build_slp_tree_2): Release new_oprnds

[PATCH] More memory leak fixes

2025-01-10 Thread Richard Biener
The following were found compiling SPEC CPU 2017 with valgrind. Bootstrap and regtest pending on x86_64-unknown-linux-gnu. * tree-vect-slp.cc (vect_analyze_slp): Release saved_stmts vector. (vect_build_slp_tree_2): Release new_oprnds_info when not used. --- gcc/tr

[PATCH] more memory leak fixes

2021-02-03 Thread Richard Biener
This fixes more memory leaks as discovered by building 521.wrf_r. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. 2021-02-03 Richard Biener * lto-streamer.c (lto_get_section_name): Free temporary buffer. * tree-loop-distribution.c (loop_distributio