Date: Wed, 4 Nov 2009 13:06:09 +0000 (UTC) From: Christian Brueffer <brueffer@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: r198884 - stable/8/sys/boot/common Message-ID: <200911041306.nA4D698O032335@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Wed Nov 4 13:06:09 2009 New Revision: 198884 URL: http://svn.freebsd.org/changeset/base/198884 Log: MFC: r198537 Close a file descriptor leak in an error case. Modified: stable/8/sys/boot/common/commands.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/boot/common/commands.c ============================================================================== --- stable/8/sys/boot/common/commands.c Wed Nov 4 12:43:31 2009 (r198883) +++ stable/8/sys/boot/common/commands.c Wed Nov 4 13:06:09 2009 (r198884) @@ -150,6 +150,7 @@ command_help(int argc, char *argv[]) break; default: command_errmsg = "usage is 'help <topic> [<subtopic>]"; + close(hfd); return(CMD_ERROR); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911041306.nA4D698O032335>