mirror of
https://github.com/opnsense/src.git
synced 2026-04-20 21:59:20 -04:00
plug resource leak
Noticed by: Coverity Prevent analysis tool Reviewed by: scottl
This commit is contained in:
parent
7e53be277f
commit
183551b925
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue