From caccd753fda0b79a7267ba593a4f0b5ac05f8940 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 13 Apr 2007 12:16:37 +0000 Subject: fix double-fclose (Gabi Diaz) --- src/cmd/grap/print.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/cmd/grap/print.c b/src/cmd/grap/print.c index 10526df3..dbecb5df 100644 --- a/src/cmd/grap/print.c +++ b/src/cmd/grap/print.c @@ -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); -- cgit v1.2.3