Received: by mail.netbsd.org (Postfix, from userid 605) id 2160A14A166; Wed, 19 Jun 2013 07:55:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C372114A165 for ; Wed, 19 Jun 2013 07:55:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id fnOpeSF_3HyO for ; Wed, 19 Jun 2013 07:55:44 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 4C8EC14A161 for ; Wed, 19 Jun 2013 07:55:44 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 44D1796; Wed, 19 Jun 2013 07:55:44 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 19 Jun 2013 07:55:44 +0000 From: "Manuel Bouyer" Subject: CVS commit: [netbsd-5] src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20130619075544.44D1796@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Manuel Bouyer" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: bouyer Date: Wed Jun 19 07:55:44 UTC 2013 Modified Files: src/sys/kern [netbsd-5]: kern_drvctl.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #1859): sys/kern/kern_drvctl.c: revision 1.34 Fix memory leak on the following cases when device attached or detached: - No one open drvctl. - kmem_alloc() failed in devmon_insert(). To generate a diff of this commit: cvs rdiff -u -r1.19.6.3 -r1.19.6.4 src/sys/kern/kern_drvctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.