commit | c5c0c55598cefc826d6cfb0a417eeaee3631715c | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Sun May 08 20:07:56 2016 +0200 |
committer | Johan Hovold <johan@kernel.org> | Tue May 10 09:39:09 2016 +0200 |
tree | 460afdc5beb8b8eb0ac485953e5b5e10ff1aa78e | |
parent | ab5701ada2473b111c24ca7f4360b0cdb5badb60 [diff] |
USB: serial: io_edgeport: fix memory leaks in attach error path Private data, URBs and buffers allocated for Epic devices during attach were never released on errors (e.g. missing endpoints). Fixes: 6e8cf7751f9f ("USB: add EPIC support to the io_edgeport driver") Cc: stable <stable@vger.kernel.org> # v2.6.21 Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>