From 168479c9bf07ee28c372c48eebbf66f2d01911dd Mon Sep 17 00:00:00 2001 From: Xu Rao Date: Mon, 1 Jun 2026 14:28:54 +0800 Subject: [PATCH] thunderbolt: test: Release third DP tunnel tb_test_tunnel_3dp() allocates three DisplayPort tunnels but only releases the first two before returning. Release the third tunnel as well to keep the test cleanup balanced. Signed-off-by: Xu Rao Signed-off-by: Mika Westerberg --- drivers/thunderbolt/test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thunderbolt/test.c b/drivers/thunderbolt/test.c index 463186a1abf9..05652ee82fbf 100644 --- a/drivers/thunderbolt/test.c +++ b/drivers/thunderbolt/test.c @@ -1661,6 +1661,7 @@ static void tb_test_tunnel_3dp(struct kunit *test) KUNIT_ASSERT_EQ(test, tunnel3->npaths, 3); KUNIT_ASSERT_EQ(test, tunnel3->paths[0]->path_length, 3); + tb_tunnel_put(tunnel3); tb_tunnel_put(tunnel2); tb_tunnel_put(tunnel1); }