diff options
author | sam <sam@FreeBSD.org> | 2005-03-31 21:42:49 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-03-31 21:42:49 +0000 |
commit | 861e0f363c47f4794a0f8177edbfb168a679361c (patch) | |
tree | d12f45c36b6932c20f748dbe5ed60061186ab594 /sys/cam | |
parent | 6848972c739856545dd9eaf727018dc4de380ddf (diff) | |
download | FreeBSD-src-861e0f363c47f4794a0f8177edbfb168a679361c.zip FreeBSD-src-861e0f363c47f4794a0f8177edbfb168a679361c.tar.gz |
avoid use after free
Submitted by: gibbs
Reviewed by: mdodd
Noticed by: Coverity Prevent analysis tool
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/cam_xpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index fb96d11..6c47d49 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -5379,8 +5379,8 @@ xpt_scan_bus(struct cam_periph *periph, union ccb *request_ccb) free(scan_info, M_TEMP); request_ccb->ccb_h.status = CAM_REQ_CMP; xpt_done(request_ccb); - break; } + break; } xpt_setup_ccb(&request_ccb->ccb_h, path, request_ccb->ccb_h.pinfo.priority); |