diff options
| author | Navid Emamdoost <[email protected]> | 2019-09-20 02:44:38 +0000 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2019-11-04 20:47:20 +0000 |
| commit | fb5be6a7b4863ecc44963bb80ca614584b6c7817 (patch) | |
| tree | bda3705945340f42c209771ad76652ba9e8e965e /drivers/net/can/usb/usb_8dev.c | |
| parent | can: dev: add missing of_node_put() after calling of_get_child_by_name() (diff) | |
| download | kernel-fb5be6a7b4863ecc44963bb80ca614584b6c7817.tar.gz kernel-fb5be6a7b4863ecc44963bb80ca614584b6c7817.zip | |
can: gs_usb: gs_can_open(): prevent memory leak
In gs_can_open() if usb_submit_urb() fails the allocated urb should be
released.
Fixes: d08e973a77d1 ("can: gs_usb: Added support for the GS_USB CAN devices")
Cc: linux-stable <[email protected]>
Signed-off-by: Navid Emamdoost <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/net/can/usb/usb_8dev.c')
0 files changed, 0 insertions, 0 deletions
