[Intel-gfx] [PATCH] drm/i915/selftest: Fix potential memory leak

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 22 09:29:32 UTC 2021

Quoting Pan Bian (2021-01-22 01:56:40)
> Object out is not released on path that no VMA instance found. The root
> cause is jumping to an unexpected label on the error path.

Wouldn't the root cause be whatever caused the allocation to fail?

Language notwithstanding,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

More information about the Intel-gfx mailing list