Skip to content
Commit 0d352a3a authored by Iago Toral Quiroga's avatar Iago Toral Quiroga Committed by Eric Anholt
Browse files

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



If the initialization of the job fails we need to kfree() it
before returning.

Signed-off-by: default avatarIago Toral Quiroga <itoral@igalia.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190916071125.5255-1-itoral@igalia.com


Fixes: a783a09e ("drm/v3d: Refactor job management.")
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent 69b22f51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment