diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2020-09-04 18:26:35 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2020-09-04 18:26:35 +0000 |
| commit | ed75ef34d43fbcb1b0bea2f96cbc7d76b096fa75 (patch) | |
| tree | 089da1862c80c4cf4162c4857fa9853231476c66 /sys/dev/usb/storage | |
| parent | 7a7ca53f69ac36516d29847f3323d17ccb3ac4fe (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/storage')
| -rw-r--r-- | sys/dev/usb/storage/umass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/storage/umass.c b/sys/dev/usb/storage/umass.c index 7e305ad4fdc3..546d524cdf35 100644 --- a/sys/dev/usb/storage/umass.c +++ b/sys/dev/usb/storage/umass.c @@ -2094,6 +2094,7 @@ umass_cam_attach_sim(struct umass_softc *sc) if (xpt_bus_register(sc->sc_sim, sc->sc_dev, sc->sc_unit) != CAM_SUCCESS) { + cam_sim_free(sc->sc_sim, /* free_devq */ TRUE); mtx_unlock(&sc->sc_mtx); return (ENOMEM); } |
