aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorMika Kuoppala <[email protected]>2019-07-01 13:44:42 +0300
committerJani Nikula <[email protected]>2019-07-29 15:32:59 +0300
commitfdcc789a4a0bb2ef01857095752be12b03cbb341 (patch)
treed1f886920ab3de80d066985bd60f4598531dc91e /lib/mpi/mpi-internal.h
parentcf8f9aa1eda7d916bd23f6b8c226404deb11690c (diff)
drm/i915: Fix memleak in runtime wakeref tracking
If we untrack wakerefs, the actual count may reach zero. However the krealloced owners array is still there and needs to be taken care of. Free the owners unconditionally to fix the leak. Fixes: bd780f37a361 ("drm/i915: Track all held rpm wakerefs") Reported-by: Juha-Pekka Heikkila <[email protected]> Cc: Juha-Pekka Heikkila <[email protected]> Cc: Chris Wilson <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit c5f846eed2a1856b78e988eeef08215c70598ecd) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions