Re: [Mesa-dev] [PATCH v4 03/10] mesa/st/tests: Fix zero-byte allocation leaks

2018-01-23 Thread Brian Paul
On 01/23/2018 03:11 AM, Gert Wollny wrote: Don't allocate a zero-sized array, when no texture offsets are given. Reviewed-by: Nicolai Hähnle Signed-off-by: Gert Wollny --- .../tests/test_glsl_to_tgsi_lifetime.cpp | 23 +++--- 1 file changed, 16 insertions(+), 7 del

[Mesa-dev] [PATCH v4 03/10] mesa/st/tests: Fix zero-byte allocation leaks

2018-01-23 Thread Gert Wollny
Don't allocate a zero-sized array, when no texture offsets are given. Reviewed-by: Nicolai Hähnle Signed-off-by: Gert Wollny --- .../tests/test_glsl_to_tgsi_lifetime.cpp | 23 +++--- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/src/mesa/state_tracker/

[Mesa-dev] [PATCH v4 03/10] mesa/st/tests: Fix zero-byte allocation leaks

2017-12-12 Thread Gert Wollny
Don't allocate a zero-sized array, when no texture offsets are given. Reviewed-by: Nicolai Hähnle Signed-off-by: Gert Wollny --- .../tests/test_glsl_to_tgsi_lifetime.cpp | 23 +++--- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/src/mesa/state_tracker/