diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_program_cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_program_cache.c b/src/gallium/drivers/iris/iris_program_cache.c index 8a55dc91cc7..700648f0d4e 100644 --- a/src/gallium/drivers/iris/iris_program_cache.c +++ b/src/gallium/drivers/iris/iris_program_cache.c @@ -138,6 +138,8 @@ iris_find_cached_shader(struct iris_context *ice, struct hash_entry *entry = _mesa_hash_table_search(ice->shaders.cache, keybox); + ralloc_free(keybox); + return entry ? entry->data : NULL; } |