mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
USB: serial: io_edgeport: fix memory leaks in attach error path
commitc5c0c55598upstream. Private data, URBs and buffers allocated for Epic devices during attach were never released on errors (e.g. missing endpoints). Fixes:6e8cf7751f("USB: add EPIC support to the io_edgeport driver") Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
c68ac8bfde
commit
6702ecbd1f
1 changed files with 28 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue