mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Free the correct memory pointer.
Submitted by: Tim Borgeaud (via HPS)
This commit is contained in:
parent
a755d548b7
commit
e601cda8d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
|
|
|
|||
Loading…
Reference in a new issue