only fclose on non-NULL streams

This commit is contained in:
ceriel 1988-04-14 16:09:02 +00:00
parent 7971761628
commit f92dad2d9d

View file

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