Skip to content

freedreno: Fix file descriptor leak.

Vinson Lee requested to merge vlee/mesa:fix-cid-1110568 into master

Fix defect reported by Coverity Scan.

Resource leak (RESOURCE_LEAK) leaked_handle: Handle variable fd going out of scope leaks the handle.

Fixes: 536f43cb ("freedreno: slurp in afuc") Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @robclark

Merge request reports