ipa/99029 - fix memory leak in propagate_malloc
authorRichard Biener <rguenther@suse.de>
Wed, 10 Feb 2021 08:13:01 +0000 (09:13 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 10 Feb 2021 09:09:33 +0000 (10:09 +0100)
commit9eb7669cc040882992dee3621ebacf4f0311e8a0
tree210aee00f8e017ae89d3f76d66a55f36e3e1ba39
parentd997565c41a8a5783bf076437208f38d8ea39ced
ipa/99029 - fix memory leak in propagate_malloc

This makes sure to release the vec<> of callees.

2021-02-10  Richard Biener  <rguenther@suse.de>

PR ipa/99029
* ipa-pure-const.c (propagate_malloc): Use an auto_vec<>
for callees.
gcc/ipa-pure-const.c