summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/mos7840.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-10-25 15:42:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-25 18:39:38 +0200
commit961be09e1ead58509ed4bed0d5819a15d8613d8d (patch)
tree7d09328e267b681f93de83be0859451c36b9df1b /drivers/usb/serial/mos7840.c
parentUSB: option: fix interface-data memory leak in error path (diff)
downloadlinux-961be09e1ead58509ed4bed0d5819a15d8613d8d.tar.xz
linux-961be09e1ead58509ed4bed0d5819a15d8613d8d.zip
USB: qcserial: fix interface-data memory leak in error path
Move interface data allocation to attach so that it is deallocated should usb-serial probe fail. 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/mos7840.c')
0 files changed, 0 insertions, 0 deletions