aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/grap
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-04-13 12:16:37 +0000
committerrsc <devnull@localhost>2007-04-13 12:16:37 +0000
commitcaccd753fda0b79a7267ba593a4f0b5ac05f8940 (patch)
tree8fe58244241bb40633ca92f52af0a5b293c615a8 /src/cmd/grap
parent4492a1eef753032e1be77e7359b1b4544a1d1bb6 (diff)
downloadplan9port-caccd753fda0b79a7267ba593a4f0b5ac05f8940.tar.gz
plan9port-caccd753fda0b79a7267ba593a4f0b5ac05f8940.tar.bz2
plan9port-caccd753fda0b79a7267ba593a4f0b5ac05f8940.zip
fix double-fclose (Gabi Diaz)
Diffstat (limited to 'src/cmd/grap')
-rw-r--r--src/cmd/grap/print.c2
1 files changed, 0 insertions, 2 deletions
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);