diff options
author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1996-05-12 01:50:33 +0000 |
---|---|---|
committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1996-05-12 01:50:33 +0000 |
commit | 8d92e174b95c65f5ae40e096bb6a7954f097ba2e (patch) | |
tree | 127dd52a6176b611590f12b001aa2911b3161aba /sys/pci/aic7870.c | |
parent | cba01a3fa6484b876a0f157a18da83cc76d43aa3 (diff) | |
download | src-8d92e174b95c65f5ae40e096bb6a7954f097ba2e.tar.gz src-8d92e174b95c65f5ae40e096bb6a7954f097ba2e.zip |
Free our device information in one error case in the driver probe.
Notes
Notes:
svn path=/head/; revision=15743
Diffstat (limited to 'sys/pci/aic7870.c')
-rw-r--r-- | sys/pci/aic7870.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/aic7870.c b/sys/pci/aic7870.c index 89c7c187e2e7..f66888ad9750 100644 --- a/sys/pci/aic7870.c +++ b/sys/pci/aic7870.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: aic7870.c,v 1.30 1996/05/10 16:26:41 gibbs Exp $ + * $Id: aic7870.c,v 1.31 1996/05/12 01:46:11 gibbs Exp $ */ #include <pci.h> @@ -398,6 +398,7 @@ aic7870_attach(config_id, unit) default: { printf("ahc: Unknown controller type. Ignoring.\n"); + ahc_free(ahc); splx(opri); return; } |