linux/drivers/thunderbolt/tb.c
Mika Westerberg 0752bb32ae thunderbolt: Fix memory leak in tb_handle_dp_bandwidth_request()
commit 596a5123cc upstream.

The memory allocated in tb_queue_dp_bandwidth_request() needs to be
released once the request is handled to avoid leaking it.

Fixes: 6ce3563520 ("thunderbolt: Add support for DisplayPort bandwidth allocation mode")
Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-16 18:32:21 +02:00

2308 lines
57 KiB