[PATCH] drm/i915: Don't leak the capture list items
Matthew Auld
matthew.auld at intel.com
Thu Dec 9 17:28:40 UTC 2021
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 current vma state")
> Cc: Ramalingam C <ramalingam.c at intel.com>
> Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the dri-devel
mailing list