commit | 7c42631376306fb3f34d51fda546b50a9b6dd6ec | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Mar 02 12:03:40 2017 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Fri Mar 03 13:00:07 2017 +0100 |
tree | d34ad66c8d1c6a8808b0a22b5cfeb5ac1abd97f4 | |
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>