summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/option.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-10-25 15:42:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-25 09:39:37 -0700
commita997448c89905b80aa4022f734f03685e733d711 (patch)
tree2a672dee7be30a63ed74b549c9a0a188e3ecc763 /drivers/usb/serial/option.c
parent3eb55cc4ed88eee3b5230f66abcdbd2a91639eda (diff)
downloadblackbird-op-linux-a997448c89905b80aa4022f734f03685e733d711.tar.gz
blackbird-op-linux-a997448c89905b80aa4022f734f03685e733d711.zip
USB: ipw: 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/option.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud