From f55df2a2210d3f6304ea198fb7d5724e3b08ac27 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Thu, 9 Dec 2010 08:36:23 +0000 Subject: [PATCH] Closing fd when it's done Reviewed by: sbruno --- usr.sbin/fwcontrol/fwcontrol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/fwcontrol/fwcontrol.c b/usr.sbin/fwcontrol/fwcontrol.c index 509d25d59fc5..6aa365a3a61c 100644 --- a/usr.sbin/fwcontrol/fwcontrol.c +++ b/usr.sbin/fwcontrol/fwcontrol.c @@ -508,6 +508,7 @@ load_crom(char *filename, u_int32_t *p) p, p+1, p+2, p+3, p+4, p+5, p+6, p+7); p += 8; } + fclose(file); } static void