diff options
author | 2017-03-02 12:03:40 +0100 | |
---|---|---|
committer | 2017-03-03 13:00:07 +0100 | |
commit | 7c42631376306fb3f34d51fda546b50a9b6dd6ec (patch) | |
tree | d34ad66c8d1c6a8808b0a22b5cfeb5ac1abd97f4 /net/unix/af_unix.c | |
parent | can: gs_usb: fix coding style (diff) | |
download | wireguard-linux-7c42631376306fb3f34d51fda546b50a9b6dd6ec.tar.xz wireguard-linux-7c42631376306fb3f34d51fda546b50a9b6dd6ec.zip |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions