fix CID 1671 by freeing listp before exit from vnex_attach

This commit is contained in:
kmacy 2006-12-07 02:09:06 +00:00
parent d581c84189
commit 2e7d84aa9d

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);
}