summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-06-12 16:00:12 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-06-12 16:00:12 +0000
commite601cda8d6b1f33ca4a378f5c6cd549d9190d06e (patch)
tree1eb2da4d9fc8b69eafe582267bb130f03a19a5b5 /sys/dev/usb
parenta755d548b73104090f4e304a80d2a4d61a75c505 (diff)
Notes
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/usb_compat_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_compat_linux.c b/sys/dev/usb/usb_compat_linux.c
index a3911bb3740d..95f708ffac34 100644
--- a/sys/dev/usb/usb_compat_linux.c
+++ b/sys/dev/usb/usb_compat_linux.c
@@ -1143,7 +1143,7 @@ usb_linux_free_device(struct usb_device *dev)
uhe++;
}
err = usb_setup_endpoint(dev, &dev->ep0, 0);
- free(uhe, M_USBDEV);
+ free(dev->linux_endpoint_start, M_USBDEV);
}
/*------------------------------------------------------------------------*