summaryrefslogtreecommitdiff
path: root/sys/dev/ae
diff options
context:
space:
mode:
authorGavin Atkinson <gavin@FreeBSD.org>2010-01-10 14:48:42 +0000
committerGavin Atkinson <gavin@FreeBSD.org>2010-01-10 14:48:42 +0000
commit7c9fdc4d36b1ee98bb3ab28c0ba68b2bd6ea7864 (patch)
tree9f124a0d6e85041399db9d443653bc679093aaba /sys/dev/ae
parentc6a96a84419241bb3929c780799d96fe34b39472 (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;