Date: Sat, 21 Nov 2009 10:46:49 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r199626 - head/sbin/ipfw Message-ID: <200911211046.nALAknkT077647@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: netchild Date: Sat Nov 21 10:46:49 2009 New Revision: 199626 URL: http://svn.freebsd.org/changeset/base/199626 Log: Fix minor resource leak in a function. Reviewed by: luigi MFC after: 1 week Modified: head/sbin/ipfw/dummynet.c Modified: head/sbin/ipfw/dummynet.c ============================================================================== --- head/sbin/ipfw/dummynet.c Sat Nov 21 06:13:29 2009 (r199625) +++ head/sbin/ipfw/dummynet.c Sat Nov 21 10:46:49 2009 (r199626) @@ -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?200911211046.nALAknkT077647>