Re: [PATCH] drm/v3d: don't leak bin job if v3d_job_init fails.

2019-09-18 Thread Eric Anholt
Iago Toral Quiroga writes: > If the initialization of the job fails we need to kfree() it > before returning. > > Signed-off-by: Iago Toral Quiroga Applied to drm-misc-next with a fixes tag for the commit that introduced the bug. Thanks! signature.asc Description: PGP signature _

[PATCH] drm/v3d: don't leak bin job if v3d_job_init fails.

2019-09-16 Thread Iago Toral Quiroga
If the initialization of the job fails we need to kfree() it before returning. Signed-off-by: Iago Toral Quiroga --- drivers/gpu/drm/v3d/v3d_gem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/v3d/v3d_gem.c b/drivers/gpu/drm/v3d/v3d_gem.c index d46d91346d09..ed68731404a7 10