Skip to content

Commit

Permalink
Pass handle to release_input_file
Browse files Browse the repository at this point in the history
	* 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
  • Loading branch information
hjl committed Feb 5, 2015
1 parent 49c97b8 commit f701573
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lto-plugin/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lto-plugin/lto-plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f701573

Please sign in to comment.