commit | 94f202c6bc5371ccdc21b96dc5a2afb076fd64a6 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Mon Aug 03 19:23:34 2020 -0700 |
committer | Dylan Baker <dylan.c.baker@intel.com> | Tue Nov 17 10:57:32 2020 -0800 |
tree | 8da46646354f7306b63f591a2ff8dd4079b03ef5 | |
parent | d7366262d2b4e341c09a1b7b15e2c1d72424c03e [diff] |
freedreno: Fix leak of shader binary on disk cache hits. It's supposed to be ralloced -- there's not even a shader variant destroy function for freeing, just ralloc_free() on the ir3_shader_variant or the parent ir3_shader when you're done! Fixes: f97acb4bb4b1 ("freedreno/ir3: disk-cache support") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5810> (cherry picked from commit 433841d9eb7cd9dd5e00b2f47cd998e0e986ef02)