plug resource leak
Noticed by: Coverity Prevent analysis tool Reviewed by: scottl
This commit is contained in:
parent
7e53be277f
commit
183551b925
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142358
@ -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…
Reference in New Issue
Block a user