Skip to content

virgl: Fix memory leak on error path.

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

Fix defect reported by Coverity Scan.

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

Fixes: 9a7d6a11 ("virgl/drm: explicit context initialization") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports