]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: opticon: fix memory leak in error path
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 08:29:12 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:15 +0000 (10:10 -0700)
commite16f68849ef8ccd4578047f306aface94176ea2a
tree5b9a98c7a5292cb23735c8c1634e091fb9f6f832
parentf2eed28b4ba4b289f51567e19d7933be0348da55
USB: opticon: fix memory leak in error path

commit acbf0e5263de563e25f7c104868e4490b9e72b13 upstream.

Fix memory leak in write error path.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/opticon.c