only fclose on non-NULL streams
This commit is contained in:
parent
ac7ce6b5d2
commit
95f2281570
@ -52,7 +52,7 @@ out_finish() {
|
||||
fflush(stderr);
|
||||
else
|
||||
#endif
|
||||
fclose(codefile);
|
||||
if (codefile) fclose(codefile);
|
||||
#ifdef TABLEDEBUG
|
||||
termlset();
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user