summaryrefslogtreecommitdiff
path: root/sys/dev/ae
diff options
context:
space:
mode:
authorGavin Atkinson <gavin@FreeBSD.org>2010-01-24 22:01:04 +0000
committerGavin Atkinson <gavin@FreeBSD.org>2010-01-24 22:01:04 +0000
commit7ac856b829073d2716fa6f170c34ce19ed5e7eaa (patch)
tree2c51b19a0cb387baae6193ff1bbf3dda0c538377 /sys/dev/ae
parent903d5593ab0ce02ab5a829ed98fae5c704b37c29 (diff)
Notes
Diffstat (limited to 'sys/dev/ae')
-rw-r--r--sys/dev/ae/if_ae.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ae/if_ae.c b/sys/dev/ae/if_ae.c
index d3e95ef1eb85..68181f4b6d4d 100644
--- a/sys/dev/ae/if_ae.c
+++ b/sys/dev/ae/if_ae.c
@@ -367,6 +367,7 @@ ae_attach(device_t dev)
if (ifp == NULL) {
device_printf(dev, "could not allocate ifnet structure.\n");
error = ENXIO;
+ goto fail;
}
ifp->if_softc = sc;