diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-06-04 14:03:42 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-06-09 11:39:23 +0200 |
commit | 5cda3ee5138e91ac369ed9d0b55eab0dab077686 (patch) | |
tree | 65eaafa32c2607bcb15edf6fa89ca09bcdd78004 /net/can | |
parent | can: peak_usb: fix product-id endianness in error message (diff) | |
download | linux-5cda3ee5138e91ac369ed9d0b55eab0dab077686.tar.xz linux-5cda3ee5138e91ac369ed9d0b55eab0dab077686.zip |
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: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions