Re: [PATCH next] drm/vkms: Fix use after frees on error paths

From: Louis Chauvet
Date: Tue Nov 04 2025 - 05:53:26 EST



On Fri, 24 Oct 2025 14:15:23 +0300, Dan Carpenter wrote:
> These error paths free a pointer and then dereference it on the next line
> to get the error code. Save the error code first and then free the
> memory.
>
>

Applied, thanks!

[1/1] drm/vkms: Fix use after frees on error paths
commit: f9e46acc172138a472ffb3bf0270a0b156a77411

Best regards,
--
Louis Chauvet <louis.chauvet@xxxxxxxxxxx>