Skip to content

panfrost: Fix memory leaks on unit test failures.

Vinson Lee requested to merge vlee/mesa:fix-cid-1504246 into main

Fix defects reported by Coverity Scan.

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

Fixes: bb6c14a6 ("panfrost: Unit test u-interleaved tiling routines") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports