mesa/src/panfrost/shared
Vinson Lee 7898721cce panfrost: Fix memory leaks on unit test failures.
Change ASSERT_EQ to EXPECT_EQ to avoid aborting before freeing memory.

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: bb6c14a697 ("panfrost: Unit test u-interleaved tiling routines")
Suggested-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16127>
2022-04-25 20:18:42 +00:00
..
test panfrost: Fix memory leaks on unit test failures. 2022-04-25 20:18:42 +00:00
meson.build panfrost: Unit test u-interleaved tiling routines 2022-04-16 13:43:05 +00:00
pan_minmax_cache.c gallium: rename PIPE_TRANSFER_* -> PIPE_MAP_* 2020-09-22 03:20:54 +00:00
pan_minmax_cache.h panfrost: split index cache into shared part 2020-03-10 02:41:27 +00:00
pan_tiling.c docs/panfrost: Document u-interleaved tiling 2022-04-16 13:43:05 +00:00
pan_tiling.h panfrost: Unit test u-interleaved tiling routines 2022-04-16 13:43:05 +00:00