plug resource leak
Noticed by: Coverity Prevent analysis tool Reviewed by: scottl
This commit is contained in:
parent
7e53be277f
commit
183551b925
@ -2025,6 +2025,7 @@ hpt_attach(device_t dev)
|
||||
*/
|
||||
if((devq = cam_simq_alloc(8/*MAX_QUEUE_COMM*/)) == NULL) {
|
||||
KdPrint(("ENXIO\n"));
|
||||
free(ccb, M_DEVBUF);
|
||||
return ENOMEM;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user