freedreno: Fix leak of the screen hash table.
authorEmma Anholt <emma@anholt.net>
Tue, 22 Jun 2021 19:09:44 +0000 (12:09 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 22 Jun 2021 20:39:18 +0000 (20:39 +0000)
commit56c7e69c4d9dca0e4e0f4c56dcfe97e8b8b4aa5e
treefe1a6972ebb292a0edc761cb8a071cd6492ed214
parentb76f2299544c73c831edf4b1e212427a41ccdd23
freedreno: Fix leak of the screen hash table.

Now we have no leaks detected on a run of a basic deqp test
(dEQP-GLES2.functional.shaders.constants.const_float_assignment_3_fragment).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11537>
src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c