Searched hist:a9556040119a63d06fd5238d47f5b683fba4178b (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/serial/ |
H A D | cyberjack.c | diff a9556040119a63d06fd5238d47f5b683fba4178b Mon Oct 15 18:20:54 CEST 2012 Johan Hovold <jhovold@gmail.com> USB: cyberjack: fix port-data memory leak
Fix port-data memory leak by replacing attach and release with port_probe and port_remove.
Since commit 0998d0631001288 (device-core: Ensure drvdata = NULL when no driver is bound) the port private data is no longer freed at release as it is no longer accessible.
Note that the write waitqueue was initialised but never used.
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>
|