diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-10-25 10:29:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-25 18:36:57 +0200 |
commit | 456c5be56ed070a4d883c60b587bcc1c97a8cf3e (patch) | |
tree | 06a0990b2e866ed588d3a1266c88458effe3a13b /drivers/usb/serial/digi_acceleport.c | |
parent | USB: whiteheat: fix port-data memory leak (diff) | |
download | linux-456c5be56ed070a4d883c60b587bcc1c97a8cf3e.tar.xz linux-456c5be56ed070a4d883c60b587bcc1c97a8cf3e.zip |
USB: ch341: fix port-data memory leak
Fix port-data memory leak by moving port data allocation to port_probe
and actually implementing deallocation.
Note that this driver has never even bothered to try to deallocate it's
port data...
Compile-only tested.
Cc: <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/digi_acceleport.c')
0 files changed, 0 insertions, 0 deletions