From owner-cvs-src@FreeBSD.ORG Fri Oct 15 03:50:04 2004 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 EB62116A4CE; Fri, 15 Oct 2004 03:50:04 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB26443D45; Fri, 15 Oct 2004 03:50:04 +0000 (GMT) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9F3o4sm054423; Fri, 15 Oct 2004 03:50:04 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9F3o4G1054422; Fri, 15 Oct 2004 03:50:04 GMT (envelope-from yongari) Message-Id: <200410150350.i9F3o4G1054422@repoman.freebsd.org> From: Pyun YongHyeon Date: Fri, 15 Oct 2004 03:50:04 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/sound/pcm buffer.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: Fri, 15 Oct 2004 03:50:05 -0000 yongari 2004-10-15 03:50:04 UTC FreeBSD src repository Modified files: sys/dev/sound/pcm buffer.c Log: Plug possible memory leak in sound DMA buffer handling. It also changes return code to ENOMEM in case of allocation failure. Approved by: jake (mentor), scottl (co-mentor) Reviewed by: truckman, matk Revision Changes Path 1.24 +24 -9 src/sys/dev/sound/pcm/buffer.c