diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-03-02 12:03:40 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-03-03 13:00:07 +0100 |
commit | 7c42631376306fb3f34d51fda546b50a9b6dd6ec (patch) | |
tree | d34ad66c8d1c6a8808b0a22b5cfeb5ac1abd97f4 /drivers/net/can/flexcan.c | |
parent | 540a27aef355e3fd8c598600d4a3c8f92127ee05 (diff) |
can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
The priv->cmd_msg_buffer is allocated in the probe function, but never
kfree()ed. This patch converts the kzalloc() to resource-managed
kzalloc.
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/flexcan.c')
0 files changed, 0 insertions, 0 deletions