Re: [PATCH] drm/i915/vma: Fix a memory leak in i915_vma_pin_ww()

From: Haoxiang Li

Date: Sat Nov 21 2026 - 02:25:41 EST


Hi, Andi

At 2026-11-20 17:59:12, "Andi Shyti" <andi.shyti@xxxxxxxxxx> wrote:
>
>It would also be interesting to explain how this oversight
>(because that's what it is) happened in the first place.
>

I think the the merge commit added the check for i915_gem_object_get_moving_fence()
but used wrong goto label. I am not sure why this happened but i found this is not isolated
in the kernel, like adding a new function call without corresponding error handling path.

Regards,
Haoxiang Li