Skip to content
Commit 5cda3ee5 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: gs_usb: fix memory leak in gs_cmd_reset()



This patch adds the missing kfree() in gs_cmd_reset() to free the
memory that is not used anymore after usb_control_msg().

Cc: linux-stable <stable@vger.kernel.org>
Cc: Maximilian Schneider <max@schneidersoft.net>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent dadcd398
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment