Skip to content

zink: Fix memory leak on error path.

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

Fix defect reported by Coverity Scan.

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

Fixes: 625457ca ("zink: handle swapchain acquire failures more directly") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports