asahi: Free the scanout resource
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 13 Nov 2022 01:28:34 +0000 (20:28 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sat, 19 Nov 2022 04:27:10 +0000 (04:27 +0000)
commitc8e520985b8b52ac0de5b6228a7ce834c1de8fc0
treeeb5d2cbefec308bd124beeb6cafa064e5e2051bc
parent6a12d793d84a5111e9926bc02f4d5c567c2a2092
asahi: Free the scanout resource

Fixes memory leaks with renderonly.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19811>
src/gallium/drivers/asahi/agx_pipe.c