Skip to content

gl-1.0-logicop: Fix memory leaks.

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

Fix defects reported by Coverity Scan.

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

Fixes: c02fca9f ("Ported logicop test from Glean to Piglit.") Fixes: c773ae68 ("test/logicop: expand tests to also cover MSAA render target") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports