fix double-fclose (Gabi Diaz)

This commit is contained in:
rsc 2007-04-13 12:16:37 +00:00
parent 4492a1eef7
commit caccd753fd

View file

@ -224,8 +224,6 @@ void reset(void) /* done at each "graph ..." statement */
void opentemp(void)
{
if (tfd != NULL)
fclose(tfd);
if (tfd != stdout) {
if (tfd != NULL)
fclose(tfd);