Re: [Mesa-dev] [PATCH 1/4] glsl_to_tgsi: Fix potential leak

2018-09-04 Thread Marek Olšák
Thanks. I've pushed this and the u_vbuf patch. Marek On Thu, Aug 30, 2018 at 12:02 PM, Ernestas Kulik wrote: > Reported by Coverity: arr_live_ranges is freed in a different branch > than the one in which it was allocated. > > CID: 1438391 > Signed-off-by: Ernestas Kulik > --- >

[Mesa-dev] [PATCH 1/4] glsl_to_tgsi: Fix potential leak

2018-08-30 Thread Ernestas Kulik
Reported by Coverity: arr_live_ranges is freed in a different branch than the one in which it was allocated. CID: 1438391 Signed-off-by: Ernestas Kulik --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git