fix CID 1671 by freeing listp before exit from vnex_attach

This commit is contained in:
Kip Macy 2006-12-07 02:09:06 +00:00
parent 7e8123da0e
commit 5b1bbad223

View File

@ -199,8 +199,9 @@ vnex_attach(device_t dev)
}
device_set_ivars(cdev, vndi);
}
bus_generic_attach(dev);
free(listp, M_DEVBUF);
return (0);
}