NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/44230: Missing close.
>Number: 44230
>Category: bin
>Synopsis: Missing close.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 13 11:30:00 +0000 2010
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
MIssing close in fwcontrol.
>How-To-Repeat:
>Fix:
diff -u -r1.10 fwcontrol.c
--- usr.sbin/fwctl/fwcontrol.c 26 Aug 2010 07:04:04 -0000 1.10
+++ usr.sbin/fwctl/fwcontrol.c 9 Dec 2010 14:06:37 -0000
@@ -492,6 +492,7 @@
fscanf(file, DUMP_FORMAT, p, p+1, p+2, p+3, p+4, p+5, p+6, p+7);
p += 8;
}
+ fclose(file);
}
static void
Home |
Main Index |
Thread Index |
Old Index