Pass handle to release_input_file

* lto-plugin.c (claim_file_handler): Pass handle to
	release_input_file.

From-SVN: r220461
This commit is contained in:
H.J. Lu 2015-02-05 20:56:14 +00:00 committed by H.J. Lu
parent 370a7814fc
commit 11c17039dd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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;