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>
Thu, 25 Oct 2012 16:36:59 +0000 (09:36 -0700)
commitacbf0e5263de563e25f7c104868e4490b9e72b13
treeeea29d377e4e0985f02000d7dff95c7c187c820e
parentea0dbebffe118724cd4df7d9b071ea8ee48d48f0
USB: opticon: fix memory leak in error path

Fix memory leak in write error path.

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