From owner-cvs-src@FreeBSD.ORG Thu Apr 24 01:16:08 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E26037B401; Thu, 24 Apr 2003 01:16:08 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A274043F75; Thu, 24 Apr 2003 01:16:07 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3O8G70U072130; Thu, 24 Apr 2003 01:16:07 -0700 (PDT) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3O8G7U9072127; Thu, 24 Apr 2003 01:16:07 -0700 (PDT) Message-Id: <200304240816.h3O8G7U9072127@repoman.freebsd.org> From: "Tim J. Robbins" Date: Thu, 24 Apr 2003 01:16:07 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern vfs_mount.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 08:16:08 -0000 tjr 2003/04/24 01:16:07 PDT FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: Free mount credentials (mnt_cred) when freeing the mount struct in failure cases to avoid leaking struct ucreds, and ultimately leaking struct uidinfo references. Revision Changes Path 1.106 +5 -0 src/sys/kern/vfs_mount.c