Re: [Mesa-dev] [PATCH mesa] vl: fix memory leak

2016-07-14 Thread Eric Engestrom
On Wed, Jul 13, 2016 at 01:48:03PM +0200, Christian König wrote: > Good catch, since we need only 16 offsets I think we could simply allocate > it on the stack as well. > > Or am I missing something? You're entirely right, and that's a much better fix too. v2 coming in a few minutes. > > Regard

Re: [Mesa-dev] [PATCH mesa] vl: fix memory leak

2016-07-13 Thread Christian König
Good catch, since we need only 16 offsets I think we could simply allocate it on the stack as well. Or am I missing something? Regards, Christian. Am 13.07.2016 um 00:02 schrieb Eric Engestrom: CovID: 1363008 Signed-off-by: Eric Engestrom --- src/gallium/auxiliary/vl/vl_bicubic_filter.c |

[Mesa-dev] [PATCH mesa] vl: fix memory leak

2016-07-12 Thread Eric Engestrom
CovID: 1363008 Signed-off-by: Eric Engestrom --- src/gallium/auxiliary/vl/vl_bicubic_filter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/auxiliary/vl/vl_bicubic_filter.c b/src/gallium/auxiliary/vl/vl_bicubic_filter.c index 25bc58c..602424b 100644 --- a/src/gallium/auxilia