projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64cd972
)
nir/lower_io_to_temporaries: Fix hash table leak
author
Connor Abbott
<cwabbott0@gmail.com>
Mon, 8 Jul 2019 16:17:30 +0000
(18:17 +0200)
committer
Connor Abbott
<cwabbott0@gmail.com>
Tue, 9 Jul 2019 08:39:37 +0000
(10:39 +0200)
Fixes: c45f5db527252384395e55fb1149b673ec7b5fa8 ("nir/lower_io_to_temporaries: Handle interpolation intrinsics")
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir/nir_lower_io_to_temporaries.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_lower_io_to_temporaries.c
b/src/compiler/nir/nir_lower_io_to_temporaries.c
index c865c7de10c607fb9ad904a3f4488836aea7980f..f92489b9d51cc2eaf502dde8fd12687a421de9ef 100644
(file)
--- a/
src/compiler/nir/nir_lower_io_to_temporaries.c
+++ b/
src/compiler/nir/nir_lower_io_to_temporaries.c
@@
-364,4
+364,6
@@
nir_lower_io_to_temporaries(nir_shader *shader, nir_function_impl *entrypoint,
exec_list_append(&shader->globals, &state.old_outputs);
nir_fixup_deref_modes(shader);
+
+ _mesa_hash_table_destroy(state.input_map, NULL);
}