Re: [Mesa-dev] [PATCH 07/11] glsl: Add missing null check in push_back()

2014-06-20 Thread Ian Romanick
Reviewed-by: Ian Romanick On 06/19/2014 05:24 AM, Juha-Pekka Heikkila wrote: > Report memory error on realloc failure and don't leak any memory. > > Signed-off-by: Juha-Pekka Heikkila > --- > src/glsl/link_atomics.cpp | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >

[Mesa-dev] [PATCH 07/11] glsl: Add missing null check in push_back()

2014-06-19 Thread Juha-Pekka Heikkila
Report memory error on realloc failure and don't leak any memory. Signed-off-by: Juha-Pekka Heikkila --- src/glsl/link_atomics.cpp | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/glsl/link_atomics.cpp b/src/glsl/link_atomics.cpp index d92cdb1..fbe4e73 10064