* lto-plugin.c (claim_file_handler): Call release_input_file only
if it is not NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220224
138bc75d-0d04-0410-961f-
82ee72b054a4
+2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * lto-plugin.c (claim_file_handler): Call release_input_file only
+ if it is not NULL.
+
2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
PR lto/64837
if (obj.objfile)
simple_object_release_read (obj.objfile);
- release_input_file (file);
+ if (release_input_file)
+ release_input_file (file);
return LDPS_OK;
}