Received: by mail.netbsd.org (Postfix, from userid 605) id 10EFD84E18; Wed, 8 Jan 2020 13:30:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8A92984E07 for ; Wed, 8 Jan 2020 13:30:16 +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 boyWPcC90wDt for ; Wed, 8 Jan 2020 13:30:16 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2C53384CE2 for ; Wed, 8 Jan 2020 13:30:16 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 25CF9FBF4; Wed, 8 Jan 2020 13:30:16 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 8 Jan 2020 13:30:16 +0000 From: "Tetsuya Isaki" Subject: CVS commit: src/sys/dev/audio To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200108133016.25CF9FBF4@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: "Tetsuya Isaki" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: isaki Date: Wed Jan 8 13:30:16 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix an resource leak on audiobell close. audioclose() freed audio_file_t structure, but only audiobellclose didn't pass there. I change that all of freeing audio_file_t is done by each *_close(). To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.