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

2017-01-23 Thread Marc-André Lureau
Hi - Original Message - > Fix the leak of some ctx fields in error path. > > Signed-off-by: Li Qiang > --- > src/gallium/auxiliary/tgsi/tgsi_sanity.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.c > b/src/gallium/a

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

2017-01-23 Thread Li Qiang
Fix the leak of some ctx fields in error path. Signed-off-by: Li Qiang --- src/gallium/auxiliary/tgsi/tgsi_sanity.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.c b/src/gallium/auxiliary/tgsi/tgsi_sanity.c index f867925..c3d5094