Skip to content

frontends/va: Fix memory leak in vlVaCreateConfig.

Vinson Lee requested to merge vlee/mesa:fix-cid-1472815 into master

Fix defect reported by Coverity Scan.

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

Fixes: b4651890 ("frontends/va: Update conditional checks for code stability.") Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @SureshG

Merge request reports