Re: [Mesa-dev] [PATCH 05/23] mesa: Convert string_to_uint_map to the util hash table

2016-08-16 Thread Timothy Arceri
On Tue, 2016-08-16 at 22:10 +0200, Thomas Helland wrote: > And remove the now unused hash_table_replace. As far as I can tell your not doing the equivalent hash_table_replace() here you are just leaking memory. See comments below. > > Signed-off-by: Thomas Helland > --- >  src/mesa/program/hash

[Mesa-dev] [PATCH 05/23] mesa: Convert string_to_uint_map to the util hash table

2016-08-16 Thread Thomas Helland
And remove the now unused hash_table_replace. Signed-off-by: Thomas Helland --- src/mesa/program/hash_table.h | 62 +-- 1 file changed, 18 insertions(+), 44 deletions(-) diff --git a/src/mesa/program/hash_table.h b/src/mesa/program/hash_table.h index 421d