From owner-cvs-all Sat Jan 6 12:44:43 2001 From owner-cvs-all@FreeBSD.ORG Sat Jan 6 12:44:40 2001 Return-Path: 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 44F9F37B400; Sat, 6 Jan 2001 12:44:40 -0800 (PST) Received: (from bmilekic@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f06Kiex42615; Sat, 6 Jan 2001 12:44:40 -0800 (PST) (envelope-from bmilekic) Message-Id: <200101062044.f06Kiex42615@freefall.freebsd.org> From: Bosko Milekic Date: Sat, 6 Jan 2001 12:44:40 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/musycc musycc.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bmilekic 2001/01/06 12:44:40 PST Modified files: sys/dev/musycc musycc.c Log: Make sure musycc driver deals with the possibility of any type of mbuf allocation not succeeding. In this case, make sure the driver doesn't leak any memory by freeing all necessary buffers; make sure to loop and free all the previously allocated mbufs in this routine. Reviewed by: alfred Revision Changes Path 1.14 +21 -1 src/sys/dev/musycc/musycc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message