Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 2010 08:36:23 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216321 - head/usr.sbin/fwcontrol
Message-ID:  <201012090836.oB98aNLt029384@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Thu Dec  9 08:36:23 2010
New Revision: 216321
URL: http://svn.freebsd.org/changeset/base/216321

Log:
  Closing fd when it's done
  
  Reviewed by:	sbruno

Modified:
  head/usr.sbin/fwcontrol/fwcontrol.c

Modified: head/usr.sbin/fwcontrol/fwcontrol.c
==============================================================================
--- head/usr.sbin/fwcontrol/fwcontrol.c	Thu Dec  9 07:47:40 2010	(r216320)
+++ head/usr.sbin/fwcontrol/fwcontrol.c	Thu Dec  9 08:36:23 2010	(r216321)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012090836.oB98aNLt029384>