From owner-svn-src-all@FreeBSD.ORG Wed Oct 28 12:10:29 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 984161065676; Wed, 28 Oct 2009 12:10:29 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8683F8FC28; Wed, 28 Oct 2009 12:10:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9SCATQw061161; Wed, 28 Oct 2009 12:10:29 GMT (envelope-from brueffer@svn.freebsd.org) Received: (from brueffer@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9SCAT61061159; Wed, 28 Oct 2009 12:10:29 GMT (envelope-from brueffer@svn.freebsd.org) Message-Id: <200910281210.n9SCAT61061159@svn.freebsd.org> From: Christian Brueffer Date: Wed, 28 Oct 2009 12:10:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r198539 - head/sys/netinet/libalias X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 12:10:29 -0000 Author: brueffer Date: Wed Oct 28 12:10:29 2009 New Revision: 198539 URL: http://svn.freebsd.org/changeset/base/198539 Log: Close a stream file descriptor leak. PR: 138130 Submitted by: Patroklos Argyroudis MFC after: 1 week Modified: head/sys/netinet/libalias/alias.c Modified: head/sys/netinet/libalias/alias.c ============================================================================== --- head/sys/netinet/libalias/alias.c Wed Oct 28 11:14:32 2009 (r198538) +++ head/sys/netinet/libalias/alias.c Wed Oct 28 12:10:29 2009 (r198539) @@ -1669,6 +1669,7 @@ LibAliasRefreshModules(void) LibAliasLoadModule(buf); } } + fclose(fd); return (0); }