only fclose on non-NULL streams

This commit is contained in:
ceriel 1988-04-14 16:09:02 +00:00
parent ac7ce6b5d2
commit 95f2281570

View File

@ -52,7 +52,7 @@ out_finish() {
fflush(stderr);
else
#endif
fclose(codefile);
if (codefile) fclose(codefile);
#ifdef TABLEDEBUG
termlset();
#endif