diff options
author | Johan Hovold <[email protected]> | 2012-10-25 15:42:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-10-25 09:39:37 -0700 |
commit | c2dd4a8eac7821fed2c2d19e4607d0986b53b0fe (patch) | |
tree | 024fff0604ac13320f4d5db1955d406d73448e26 /lib/mpi/mpi-cmp.c | |
parent | a997448c89905b80aa4022f734f03685e733d711 (diff) |
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 <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions