Re: [Mesa-dev] [PATCH] tgsi: fix memory leak in tgsi sanity check

2017-02-10 Thread Nicolai Hähnle
On 10.02.2017 05:04, Dave Airlie wrote: From: Dave Airlie This just fixes this without repeating the code. Reported-by: Li Qiang Signed-off-by: Dave Airlie Reviewed-by: Nicolai Hähnle --- src/gallium/auxiliary/tgsi/tgsi_sanity.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions

[Mesa-dev] [PATCH] tgsi: fix memory leak in tgsi sanity check

2017-02-09 Thread Dave Airlie
From: Dave Airlie This just fixes this without repeating the code. Reported-by: Li Qiang Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_sanity.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.c b/src/gallium/a