fix double-fclose (Gabi Diaz)
This commit is contained in:
parent
4492a1eef7
commit
caccd753fd
@ -224,8 +224,6 @@ void reset(void) /* done at each "graph ..." statement */
|
|||||||
|
|
||||||
void opentemp(void)
|
void opentemp(void)
|
||||||
{
|
{
|
||||||
if (tfd != NULL)
|
|
||||||
fclose(tfd);
|
|
||||||
if (tfd != stdout) {
|
if (tfd != stdout) {
|
||||||
if (tfd != NULL)
|
if (tfd != NULL)
|
||||||
fclose(tfd);
|
fclose(tfd);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user