* lto-plugin.c (claim_file_handler): Call release_input_file only
if file is claimed.
From-SVN: r220455
+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.
+
2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
* lto-plugin.c (claim_file_handler): Call release_input_file only
*claimed = 1;
+ if (release_input_file)
+ release_input_file (file);
+
goto cleanup;
err:
if (obj.objfile)
simple_object_release_read (obj.objfile);
- if (release_input_file)
- release_input_file (file);
-
return LDPS_OK;
}