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 <raoxu@uniontech.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
This commit is contained in:
Xu Rao 2026-06-01 14:28:54 +08:00 committed by Mika Westerberg
parent 2c5d2d3c3f
commit 168479c9bf

View File

@ -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);
}