aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorVictor Lu <[email protected]>2021-01-15 11:02:48 -0500
committerAlex Deucher <[email protected]>2021-02-02 12:12:02 -0500
commitc64b0d6bb5d0d40e399e11a3cab02f0f7759bf9f (patch)
tree835624007019c7ec5272d0bfa1972eee86134a56 /lib/mpi/mpi-sub-ui.c
parent2dc39051a7ba4d909992e5526ef2f0ad4e1b4770 (diff)
drm/amd/display: Decrement refcount of dc_sink before reassignment
[why] An old dc_sink state is causing a memory leak because it is missing a dc_sink_release before a new dc_sink is assigned back to aconnector->dc_sink. [how] Decrement the dc_sink refcount before reassigning it to a new dc_sink. Signed-off-by: Victor Lu <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Acked-by: Anson Jacob <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions