]> gcc.gnu.org Git - gcc.git/commit
collect2: Fix missing cleanups.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 6 Oct 2021 13:58:33 +0000 (14:58 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 13 Oct 2021 16:06:36 +0000 (17:06 +0100)
commit43ae43f654749d291d871ca6ef7c96ea16580fad
tree242b099dd1fca6c9df9b98c2ff2d92cbd30b01a0
parent5efeaa0d29525fa28e189e6278c1b1651fb0d7bf
collect2: Fix missing cleanups.

The code that checks to see if objects have LTO content via
simple-object was not releasing resources, fixed thus.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:

* collect2.c (is_lto_object_file): Release simple-object
resources, close files.
gcc/collect2.c
This page took 0.05526 seconds and 5 git commands to generate.