From owner-cvs-src@FreeBSD.ORG Fri Sep 29 09:52:58 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 2233616A407; Fri, 29 Sep 2006 09:52:58 +0000 (UTC) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D26EA43D53; Fri, 29 Sep 2006 09:52:57 +0000 (GMT) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8T9qvBT053567; Fri, 29 Sep 2006 09:52:57 GMT (envelope-from mbr@repoman.freebsd.org) Received: (from mbr@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8T9qvcU053566; Fri, 29 Sep 2006 09:52:57 GMT (envelope-from mbr) Message-Id: <200609290952.k8T9qvcU053566@repoman.freebsd.org> From: Martin Blapp Date: Fri, 29 Sep 2006 09:52:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern tty_pty.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 29 Sep 2006 09:52:58 -0000 mbr 2006-09-29 09:52:57 UTC FreeBSD src repository Modified files: sys/kern tty_pty.c Log: Free tty struct after last close. This should fix the pty-leak by numbers. Remove workarounds for tty_refcount beeing 0, this will be fixed differently later. Back out rev 1.145 since we initialize the tty struct from scratch and bad things can't happen anymore. Revision Changes Path 1.148 +17 -12 src/sys/kern/tty_pty.c