diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-05 20:56:14 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-05 20:56:14 +0000 |
commit | f7015735c3b67214f9f564c7ca4818dd3e3c4612 (patch) | |
tree | 79a1b0c486be9126d1f7b99faefe9c4bf599e9db /lto-plugin | |
parent | 49c97b8140c5b4548741b876c273c5bd005ad848 (diff) | |
download | gcc-f7015735c3b67214f9f564c7ca4818dd3e3c4612.tar.gz |
Pass handle to release_input_file
* lto-plugin.c (claim_file_handler): Pass handle to
release_input_file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220461 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'lto-plugin')
-rw-r--r-- | lto-plugin/ChangeLog | 5 | ||||
-rw-r--r-- | lto-plugin/lto-plugin.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index 510e7385884..82d62ae2564 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -1,5 +1,10 @@ 2015-02-05 H.J. Lu <hongjiu.lu@intel.com> + * lto-plugin.c (claim_file_handler): Pass handle to + release_input_file. + +2015-02-05 H.J. Lu <hongjiu.lu@intel.com> + * lto-plugin.c (claim_file_handler): Call release_input_file only if file is claimed. diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c index e25bbf9c44e..44d0e3043b5 100644 --- a/lto-plugin/lto-plugin.c +++ b/lto-plugin/lto-plugin.c @@ -999,7 +999,7 @@ claim_file_handler (const struct ld_plugin_input_file *file, int *claimed) *claimed = 1; if (release_input_file) - release_input_file (file); + release_input_file (file->handle); goto cleanup; |