Skip to content

namespace-pollution: Fix memory leak on error path.

Vinson Lee requested to merge vlee/piglit:fix-cid-1498354 into main

Fix defect reported by Coverity Scan.

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

Fixes: 5f954c14 ("namespace-pollution: Add vertex program as an object to test") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports