fix CID 1671 by freeing listp before exit from vnex_attach
This commit is contained in:
parent
d581c84189
commit
2e7d84aa9d
@ -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