From c291b2ec819db0e168bbd1f667e313e3588c49be Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 20 Apr 2006 21:51:05 +0000 Subject: bug fix --- src/cmd/lex/lmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cmd/lex/lmain.c') diff --git a/src/cmd/lex/lmain.c b/src/cmd/lex/lmain.c index 0931d46a..7372d8ca 100644 --- a/src/cmd/lex/lmain.c +++ b/src/cmd/lex/lmain.c @@ -191,7 +191,8 @@ main(int argc, char **argv) debug || # endif report == 1)statistics(); - Bterm(fin); + if(fin) + Bterm(fin); exits(0); /* success return code */ } -- cgit v1.2.3