Date: Wed, 7 Feb 2001 16:00:15 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/advansys adv_isa.c advansys.c Message-ID: <200102080000.f1800Fn42789@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102080000.f1800Fn42789>
