fix CID 1671 by freeing listp before exit from vnex_attach
This commit is contained in:
parent
7e8123da0e
commit
5b1bbad223
@ -199,8 +199,9 @@ vnex_attach(device_t dev)
|
||||
}
|
||||
device_set_ivars(cdev, vndi);
|
||||
}
|
||||
|
||||
bus_generic_attach(dev);
|
||||
free(listp, M_DEVBUF);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user