diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-10-25 15:42:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-25 18:39:38 +0200 |
commit | 961be09e1ead58509ed4bed0d5819a15d8613d8d (patch) | |
tree | 7d09328e267b681f93de83be0859451c36b9df1b /drivers/usb/serial/mos7840.c | |
parent | USB: option: fix interface-data memory leak in error path (diff) | |
download | linux-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