diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-04-28 06:43:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-04-28 06:43:05 +0000 |
commit | 2c5b9dc7b6efff067b1d7a7968f6109e7b08ad77 (patch) | |
tree | 675de98dc36a0d29904e7d699b2481d80a711905 | |
parent | 12e7eb80a0146db9348c8ecd034a8a8d831bbd31 (diff) |
FILE * leak; henning ja ja ja ja
-rw-r--r-- | usr.sbin/bgpd/parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 4bfae60852e..b18e3b4f65d 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.95 2004/04/28 04:34:46 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.96 2004/04/28 06:43:04 deraadt Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -1274,6 +1274,7 @@ parse_config(char *filename, struct bgpd_config *xconf, infile = filename; if (check_file_secrecy(fileno(fin), filename)) { + fclose(fin); free(conf); free(mrtconf); return (-1); |