From owner-cvs-all Tue Mar 27 12:49:55 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CE18A37B718; Tue, 27 Mar 2001 12:49:51 -0800 (PST) (envelope-from dwmalone@FreeBSD.org) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2RKnpH35237; Tue, 27 Mar 2001 12:49:51 -0800 (PST) (envelope-from dwmalone) Message-Id: <200103272049.f2RKnpH35237@freefall.freebsd.org> From: David Malone Date: Tue, 27 Mar 2001 12:49:51 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_proc.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dwmalone 2001/03/27 12:49:51 PST Modified files: sys/kern kern_proc.c Log: Don't leak the memory we've just malloced if we can't find the process we're looking for. (I don't think this can currently happen, but it depends how the function is called). PR: 25932 Submitted by: David Xu Revision Changes Path 1.90 +3 -3 src/sys/kern/kern_proc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message