Skip to content

asahi: Fix memory leak on error path.

Vinson Lee requested to merge vlee/mesa:fix-cid-1517006 into main

Fix defect reported by Coverity Scan.

Resource leak (RESOURCE_LEAK) leaked_storage: Variable rsc going out of scope leaks the storage it points to.

Fixes: 01964625 ("asahi: Implement agx_resource_from_handle") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports