diff options
author | Gil Fine <[email protected]> | 2023-08-10 23:18:25 +0300 |
---|---|---|
committer | Mika Westerberg <[email protected]> | 2023-10-05 12:06:50 +0300 |
commit | ec4405ed92036f5bb487b5c2f9a28f9e36a3e3d5 (patch) | |
tree | 4c64677bc3822de59dcc6695ea2a9bfca0c84539 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa (diff) |
thunderbolt: Call tb_switch_put() once DisplayPort bandwidth request is finished
When handling DisplayPort bandwidth request tb_switch_find_by_route() is
called and it returns a router structure with reference count increased.
In order to avoid resource leak call tb_switch_put() when finished.
Fixes: 6ce3563520be ("thunderbolt: Add support for DisplayPort bandwidth allocation mode")
Cc: [email protected]
Signed-off-by: Gil Fine <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions