only fclose on non-NULL streams
This commit is contained in:
parent
7971761628
commit
f92dad2d9d
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ out_finish() {
|
|||
fflush(stderr);
|
||||
else
|
||||
#endif
|
||||
fclose(codefile);
|
||||
if (codefile) fclose(codefile);
|
||||
#ifdef TABLEDEBUG
|
||||
termlset();
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue