From 11c17039dd328319f177cac2662f8d5941d63354 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 5 Feb 2015 20:56:14 +0000 Subject: [PATCH] Pass handle to release_input_file * lto-plugin.c (claim_file_handler): Pass handle to release_input_file. From-SVN: r220461 --- lto-plugin/ChangeLog | 5 +++++ lto-plugin/lto-plugin.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index 510e7385884..82d62ae2564 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -1,3 +1,8 @@ +2015-02-05 H.J. Lu + + * lto-plugin.c (claim_file_handler): Pass handle to + release_input_file. + 2015-02-05 H.J. Lu * lto-plugin.c (claim_file_handler): Call release_input_file only 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; -- 2.30.2