[Mesa-dev] [PATCH] nir/lower_io_to_temporaries: Fix hash table leak
Timothy Arceri
tarceri at itsqueeze.com
Tue Jul 9 00:06:01 UTC 2019
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
On 9/7/19 2:20 am, Connor Abbott wrote:
> Fixes: c45f5db527252384395e55fb1149b673ec7b5fa8 ("nir/lower_io_to_temporaries: Handle interpolation intrinsics")
> ---
> Whoops...
>
> src/compiler/nir/nir_lower_io_to_temporaries.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/compiler/nir/nir_lower_io_to_temporaries.c b/src/compiler/nir/nir_lower_io_to_temporaries.c
> index c865c7de10c..f92489b9d51 100644
> --- 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);
> }
>
More information about the mesa-dev
mailing list