Re: [PATCH] drm/i915/selftest: Fix potential memory leak

From: Chris Wilson
Date: Fri Jan 22 2021 - 05:37:17 EST

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@xxxxxxxxxxxxxxxxxx>