v3d: Fix leak in resource setup error path
Reported by Coverity: in the case of unsupported modifier request, the code does not jump to the “fail” label to destroy the acquired resource. CID: 1435704 Signed-off-by:Ernestas Kulik <ernestas.kulik@gmail.com> Fixes: 45bb8f29 ("broadcom: Add V3D 3.3 gallium driver called "vc5", for BCM7268.")
Loading
Please register or sign in to comment