Apply patches from debian libmcpp

This commit is contained in:
Benau
2020-01-03 12:57:16 +08:00
parent b928ecf24c
commit e401a3c865
2 changed files with 14 additions and 14 deletions

View File

@@ -428,16 +428,11 @@ int main
fatal_error_exit:
#if MCPP_LIB
/* Free malloced memory */
if (mcpp_debug & MACRO_CALL) {
if (in_file != stdin_name)
free( in_file);
}
clear_filelist();
clear_symtable();
#endif
if (fp_in != stdin)
if (fp_in && fp_in != stdin)
fclose( fp_in);
if (fp_out != stdout)
fclose( fp_out);