From owner-cvs-all Wed Feb 7 16: 0:40 2001 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 F3DFD37B6A6; Wed, 7 Feb 2001 16:00:15 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1800Fn42789; Wed, 7 Feb 2001 16:00:15 -0800 (PST) (envelope-from jhb) Message-Id: <200102080000.f1800Fn42789@freefall.freebsd.org> From: John Baldwin Date: Wed, 7 Feb 2001 16:00:15 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/advansys adv_isa.c advansys.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2001/02/07 16:00:15 PST Modified files: sys/dev/advansys adv_isa.c advansys.c Log: - Check if the ccb_infos in the softc is NULL before trying to free it in adv_free() as the ISA probe routine doesn't malloc() ccb_infos but does call adv_free(). - Release the ISA-only overrun DMA tags, bufs, and maps if the probe fails. Tested by: rwatson Revision Changes Path 1.18 +10 -2 src/sys/dev/advansys/adv_isa.c 1.20 +3 -2 src/sys/dev/advansys/advansys.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message