Skip to content

asahi: Fix memory leak on error path.

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

Fix defect reported by Coverity Scan.

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

Fixes: 7522f4f7 ("asahi: Make resource creation code modifier-aware") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports