summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/qcserial.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-10-25 15:42:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-25 18:39:37 +0200
commitc2dd4a8eac7821fed2c2d19e4607d0986b53b0fe (patch)
tree024fff0604ac13320f4d5db1955d406d73448e26 /drivers/usb/serial/qcserial.c
parentUSB: ipw: fix interface-data memory leak in error path (diff)
downloadlinux-c2dd4a8eac7821fed2c2d19e4607d0986b53b0fe.tar.xz
linux-c2dd4a8eac7821fed2c2d19e4607d0986b53b0fe.zip
USB: option: fix interface-data memory leak in error path
Move interface data allocation to attach so that it is deallocated should usb-serial probe fail. Note that the usb device id is stored at probe so that it can be used in attach to determine send-setup blacklisting. Signed-off-by: Johan Hovold <jhovold@gmail.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/qcserial.c')
0 files changed, 0 insertions, 0 deletions