Re: [PATCH] drm/i915: Don't leak the capture list items

2021-12-09 Thread Matthew Auld
On 09/12/2021 14:13, Thomas Hellström wrote: When we recently converted the capture code to use vma snapshots, we forgot to free the struct i915_capture_list list items after use. Fix that by bringing back a kfree. Fixes: ff20afc4cee7 ("drm/i915: Update error capture code to avoid using the cur

[PATCH] drm/i915: Don't leak the capture list items

2021-12-09 Thread Thomas Hellström
When we recently converted the capture code to use vma snapshots, we forgot to free the struct i915_capture_list list items after use. Fix that by bringing back a kfree. Fixes: ff20afc4cee7 ("drm/i915: Update error capture code to avoid using the current vma state") Cc: Ramalingam C Signed-off-