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);
|
fflush(stderr);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
fclose(codefile);
|
if (codefile) fclose(codefile);
|
||||||
#ifdef TABLEDEBUG
|
#ifdef TABLEDEBUG
|
||||||
termlset();
|
termlset();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue