Skip to content

textureGather: Fix memory leak.

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

Fix defect reported by Coverity Scan.

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

Fixes: 95241b0c ("textureGather: make sure to test out min/max offsets") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports