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:
parent
370a7814fc
commit
11c17039dd
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user