diff options
Diffstat (limited to 'sys/dev/usb/ums.c')
-rw-r--r-- | sys/dev/usb/ums.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index cb1bb8a..4e8e441 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -388,7 +388,7 @@ ums_detach(device_t self) sc->sc_disconnected = 1; DPRINTF(("%s: disconnected\n", USBDEVNAME(self))); - device_set_desc(self, NULL); + free(sc->sc_loc_btn, M_USB); free(sc->sc_ibuf, M_USB); |