Skip to content
Commit e0eba40a authored by Ernestas Kulik's avatar Ernestas Kulik Committed by Emil Velikov
Browse files

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: default avatarErnestas Kulik <ernestas.kulik@gmail.com>
Fixes: 45bb8f29 ("broadcom: Add V3D 3.3 gallium driver called "vc5", for BCM7268.")
(cherry picked from commit 90458bef)
parent 1a2b227f
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