Commit 11c17039 by H.J. Lu Committed by H.J. Lu

Pass handle to release_input_file

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

From-SVN: r220461
parent 370a7814
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment