]> git.ipfire.org Git - thirdparty/gcc.git/commit
More memory leak fixes
authorRichard Biener <rguenther@suse.de>
Fri, 10 Jan 2025 15:25:35 +0000 (16:25 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Sun, 12 Jan 2025 11:56:08 +0000 (12:56 +0100)
commitbedf26c201894d340a4eb61927879fd0d82e3102
treee9e5610abeb1f98d1157f28413509a0da7b34510
parent4b29be7216daa5921aae340388ef6416b1631f0a
More memory leak fixes

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_info when not
used.
(vect_analyze_slp): Release root_stmts when gcond SLP
build fails.
gcc/tree-vect-slp.cc