Skip to content

ext_texture_storage: Fix memory leak on error path

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

Fix defects reported by Coverity Scan.

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

Fixes: cc1e4d67 ("Add GL_EXT_texture_storage tests") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports