ac/surface: don't free dcc_retile_map on failure
authorMarek Olšák <marek.olsak@amd.com>
Thu, 11 Jun 2020 09:00:44 +0000 (05:00 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 11 Jun 2020 10:01:57 +0000 (10:01 +0000)
commit0b3e344212698296d448a757aa5ca776b6cd3a42
treed3049ee0463ea033043be6dd7cb5e0bf18071d59
parent56f2a77a4149e637d8524780bed121979e7d134e
ac/surface: don't free dcc_retile_map on failure

because the hash table now owns it.

Fixes: bd553f0546d - ac/surface: cache DCC retile maps (v2)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5424>
src/amd/common/ac_surface.c