commit | 961be09e1ead58509ed4bed0d5819a15d8613d8d | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Thu Oct 25 15:42:41 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 25 09:39:38 2012 -0700 |
tree | 7d09328e267b681f93de83be0859451c36b9df1b | |
parent | c2dd4a8eac7821fed2c2d19e4607d0986b53b0fe [diff] |
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>