Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: serial: garmin_gps: fix memory leak on probe errors
commit 74d471b upstream. Make sure to free the port private data before returning after a failed probe attempt. Fixes: 1da177e ("Linux-2.6.12-rc2") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information