diff --git a/sys/sun4v/sun4v/vnex.c b/sys/sun4v/sun4v/vnex.c index 89a46ea514e1..7e8b17a0bb82 100644 --- a/sys/sun4v/sun4v/vnex.c +++ b/sys/sun4v/sun4v/vnex.c @@ -199,8 +199,9 @@ vnex_attach(device_t dev) } device_set_ivars(cdev, vndi); } - bus_generic_attach(dev); + free(listp, M_DEVBUF); + return (0); }