svn commit: r198884 - stable/8/sys/boot/common
Christian Brueffer
brueffer at FreeBSD.org
Wed Nov 4 13:06:09 UTC 2009
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);
}
More information about the svn-src-stable-8
mailing list