Re: [Mesa-dev] [PATCH] glsl: Fix memory leak with known glsl_type instances

2018-03-06 Thread Tapani Pälli
On 06.03.2018 14:07, Emil Velikov wrote: On 6 March 2018 at 07:32, Tapani Pälli wrote: Hi; On 01.03.2018 03:12, Kenneth Graunke wrote: On Thursday, February 15, 2018 1:12:54 AM PST Tapani Pälli wrote: From: Simon Hausmann When looking up known glsl_type instances in the various hash t

Re: [Mesa-dev] [PATCH] glsl: Fix memory leak with known glsl_type instances

2018-03-06 Thread Emil Velikov
On 6 March 2018 at 07:32, Tapani Pälli wrote: > Hi; > > > On 01.03.2018 03:12, Kenneth Graunke wrote: >> >> On Thursday, February 15, 2018 1:12:54 AM PST Tapani Pälli wrote: >>> >>> From: Simon Hausmann >>> >>> When looking up known glsl_type instances in the various hash tables, we >>> end up le

Re: [Mesa-dev] [PATCH] glsl: Fix memory leak with known glsl_type instances

2018-03-05 Thread Tapani Pälli
Hi; On 01.03.2018 03:12, Kenneth Graunke wrote: On Thursday, February 15, 2018 1:12:54 AM PST Tapani Pälli wrote: From: Simon Hausmann When looking up known glsl_type instances in the various hash tables, we end up leaking the key instances used for the lookup, as the glsl_type constructor al

Re: [Mesa-dev] [PATCH] glsl: Fix memory leak with known glsl_type instances

2018-02-28 Thread Kenneth Graunke
On Thursday, February 15, 2018 1:12:54 AM PST Tapani Pälli wrote: > From: Simon Hausmann > > When looking up known glsl_type instances in the various hash tables, we > end up leaking the key instances used for the lookup, as the glsl_type > constructor allocates memory on the global mem_ctx. This

Re: [Mesa-dev] [PATCH] glsl: Fix memory leak with known glsl_type instances

2018-02-27 Thread Emil Velikov
On 27 February 2018 at 05:43, Tapani Pälli wrote: > > > On 02/26/2018 07:55 PM, Emil Velikov wrote: >> >> On 15 February 2018 at 09:12, Tapani Pälli wrote: >>> >>> From: Simon Hausmann >>> >>> When looking up known glsl_type instances in the various hash tables, we >>> end up leaking the key ins

Re: [Mesa-dev] [PATCH] glsl: Fix memory leak with known glsl_type instances

2018-02-26 Thread Tapani Pälli
On 02/26/2018 07:55 PM, Emil Velikov wrote: On 15 February 2018 at 09:12, Tapani Pälli wrote: From: Simon Hausmann When looking up known glsl_type instances in the various hash tables, we end up leaking the key instances used for the lookup, as the glsl_type constructor allocates memory on

Re: [Mesa-dev] [PATCH] glsl: Fix memory leak with known glsl_type instances

2018-02-26 Thread Emil Velikov
On 15 February 2018 at 09:12, Tapani Pälli wrote: > From: Simon Hausmann > > When looking up known glsl_type instances in the various hash tables, we > end up leaking the key instances used for the lookup, as the glsl_type > constructor allocates memory on the global mem_ctx. This patch changes >

Re: [Mesa-dev] [PATCH] glsl: Fix memory leak with known glsl_type instances

2018-02-26 Thread Tapani Pälli
ping .. On 02/15/2018 11:12 AM, Tapani Pälli wrote: From: Simon Hausmann When looking up known glsl_type instances in the various hash tables, we end up leaking the key instances used for the lookup, as the glsl_type constructor allocates memory on the global mem_ctx. This patch changes glsl_t