diff options
author | rsc <devnull@localhost> | 2007-04-13 12:16:37 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-04-13 12:16:37 +0000 |
commit | caccd753fda0b79a7267ba593a4f0b5ac05f8940 (patch) | |
tree | 8fe58244241bb40633ca92f52af0a5b293c615a8 /src/cmd/grap | |
parent | 4492a1eef753032e1be77e7359b1b4544a1d1bb6 (diff) | |
download | plan9port-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.c | 2 |
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); |