diff options
Diffstat (limited to 'sys/dev/usb/upd.c')
-rw-r--r-- | sys/dev/usb/upd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/upd.c b/sys/dev/usb/upd.c index 8ef208c01fc..1772d1fa47f 100644 --- a/sys/dev/usb/upd.c +++ b/sys/dev/usb/upd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: upd.c,v 1.9 2014/05/12 09:50:44 mpi Exp $ */ +/* $OpenBSD: upd.c,v 1.10 2014/07/12 18:48:52 tedu Exp $ */ /* * Copyright (c) 2014 Andre de Oliveira <andre@openbsd.org> @@ -251,8 +251,8 @@ upd_detach(struct device *self, int flags) DPRINTF(("upd_detach: %s\n", sensor->ksensor.desc)); } - free(sc->sc_reports, M_USBDEV); - free(sc->sc_sensors, M_USBDEV); + free(sc->sc_reports, M_USBDEV, 0); + free(sc->sc_sensors, M_USBDEV, 0); DPRINTF(("upd_detach: complete\n")); return (0); } |