From 8d92e174b95c65f5ae40e096bb6a7954f097ba2e Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" Date: Sun, 12 May 1996 01:50:33 +0000 Subject: [PATCH] Free our device information in one error case in the driver probe. --- sys/pci/aic7870.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/pci/aic7870.c b/sys/pci/aic7870.c index 89c7c187e2e..f66888ad975 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 @@ -398,6 +398,7 @@ aic7870_attach(config_id, unit) default: { printf("ahc: Unknown controller type. Ignoring.\n"); + ahc_free(ahc); splx(opri); return; }