aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mly/mly.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-01-18 12:49:36 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-01-18 12:49:36 +0000
commit85e17c603d4ffc3c0930a31ee47a4214f9dc386e (patch)
tree166dcb3497f040d2c63ef0324c2bdfab344091cb /sys/dev/mly/mly.c
parentedac5229aec2f3e95f4d9aa37de9e0b17803cd4a (diff)
Notes
Diffstat (limited to 'sys/dev/mly/mly.c')
-rw-r--r--sys/dev/mly/mly.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index 3d49034fd6139..48e8f25fea740 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -2031,6 +2031,7 @@ mly_cam_rescan_btl(struct mly_softc *sc, int bus, int target)
if (xpt_create_path(&sc->mly_cam_path, xpt_periph,
cam_sim_path(sc->mly_cam_sim[bus]), target, 0) != CAM_REQ_CMP) {
mly_printf(sc, "rescan failed (can't create path)\n");
+ free(ccb, M_TEMP);
return;
}
xpt_setup_ccb(&ccb->ccb_h, sc->mly_cam_path, 5/*priority (low)*/);