USB: serial: kl5kusb105: fix memleak on open
authorJohan Hovold <johan@kernel.org>
Fri, 4 Dec 2020 08:55:19 +0000 (09:55 +0100)
committerJohan Hovold <johan@kernel.org>
Fri, 4 Dec 2020 11:02:57 +0000 (12:02 +0100)
commit3f203f057edfcf6bd02c6b942799262bfcf31f73
tree31dda76640c1180d360b49a10eed83e6d186ef3a
parentbf193bfc12dbc3754fc8a6e0e1e3702f1af2f772
USB: serial: kl5kusb105: fix memleak on open

Fix memory leak of control-message transfer buffer on successful open().

Fixes: 6774d5f53271 ("USB: serial: kl5kusb105: fix open error path")
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/kl5kusb105.c