Date: Wed, 28 Oct 2009 12:10:29 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r198539 - head/sys/netinet/libalias Message-ID: <200910281210.n9SCAT61061159@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <argp@census-labs.com> 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910281210.n9SCAT61061159>