commit | 456c5be56ed070a4d883c60b587bcc1c97a8cf3e | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Thu Oct 25 10:29:03 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 25 09:36:57 2012 -0700 |
tree | 06a0990b2e866ed588d3a1266c88458effe3a13b | |
parent | c467206ed6bcce26c83d0435612cc4fee2527305 [diff] |
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>