Date: Tue, 1 Dec 2009 12:35:52 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r199991 - stable/8/sbin/ipfw Message-ID: <200912011235.nB1CZqbZ064502@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: netchild Date: Tue Dec 1 12:35:51 2009 New Revision: 199991 URL: http://svn.freebsd.org/changeset/base/199991 Log: MFC r199626: Fix minor resource leak in a function. Reviewed by: luigi Modified: stable/8/sbin/ipfw/dummynet.c Directory Properties: stable/8/sbin/ipfw/ (props changed) Modified: stable/8/sbin/ipfw/dummynet.c ============================================================================== --- stable/8/sbin/ipfw/dummynet.c Tue Dec 1 11:08:04 2009 (r199990) +++ stable/8/sbin/ipfw/dummynet.c Tue Dec 1 12:35:51 2009 (r199991) @@ -650,6 +650,8 @@ load_extra_delays(const char *filename, } } + fclose (f); + if (samples == -1) { warnx("'%s' not found, assuming 100", ED_TOK_SAMPLES); samples = 100;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912011235.nB1CZqbZ064502>