diff options
author | Johan Hovold <johan@kernel.org> | 2016-05-08 20:07:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-01 12:15:51 -0700 |
commit | d6f695703c8decb0ef9740de50829961ecdcd639 (patch) | |
tree | 8d361f77d07759e7d4937c26cf0b313bf876998c /drivers/fmc | |
parent | 68f03961991a002e6143b9d771792d42fe8a26d2 (diff) |
USB: serial: io_edgeport: fix memory leaks in attach error path
commit c5c0c55598cefc826d6cfb0a417eeaee3631715c upstream.
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")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions