USB: mxu11x0: fix memory leak in port-probe error path
authorJohan Hovold <johan@kernel.org>
Tue, 29 Dec 2015 12:36:11 +0000 (13:36 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 29 Dec 2015 12:43:13 +0000 (13:43 +0100)
commit924eccc73db2f64a24865d21ff11be8043b24375
treef66de8ecad9723221b5c7ca5ac3bbcf5374e349c
parent0b2b093ad405b56a9e6f4f20a25da77ebfa9549c
USB: mxu11x0: fix memory leak in port-probe error path

Fix memory leak in port-probe error path by verifying the interrupt-in
urb before allocating the private data.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mxu11x0.c