diff options
author | Daniel J Blueman | 2018-04-02 15:10:35 +0800 |
---|---|---|
committer | Eric Anholt | 2018-04-09 12:42:08 -0700 |
commit | c0db1b677e1d584fab5d7ac76a32e1c0157542e0 (patch) | |
tree | 4c85b772694f32ef50ff55ac338a9f6020015658 /drivers/vhost | |
parent | 5a9f698feb11b198f17b2acebbfe0e2716a3beed (diff) |
drm/vc4: Fix memory leak during BO teardown
During BO teardown, an indirect list 'uniform_addr_offsets' wasn't being
freed leading to leaking many 128B allocations. Fix the memory leak by
releasing it at teardown time.
Cc: stable@vger.kernel.org
Fixes: 6d45c81d229d ("drm/vc4: Add support for branching in shader validation.")
Signed-off-by: Daniel J Blueman <daniel@quora.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180402071035.25356-1-daniel@quora.org
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions