Skip to content

d3d12: Fix memory leaks on error paths in d3d12_context_create.

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

Fix defect reported by Coverity Scan.

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

Fixes: 2ea15cd6 ("d3d12: introduce d3d12 gallium driver") Signed-off-by: Vinson Lee

Merge request reports