Re: [Mesa-dev] [PATCH] svga: add some trivial null pointer checks

2016-04-06 Thread eocallaghan
Reviewed-by: Edward O'Callaghan +1 for defensive programming. On 2016-04-07 06:00, Brian Paul wrote: These small mallocs will probably never fail, but static analysis tools may complain about the missing checks. --- src/gallium/drivers/svga/svga_pipe_blend.c| 3 +++ src/gallium/driver

[Mesa-dev] [PATCH] svga: add some trivial null pointer checks

2016-04-06 Thread Brian Paul
These small mallocs will probably never fail, but static analysis tools may complain about the missing checks. --- src/gallium/drivers/svga/svga_pipe_blend.c| 3 +++ src/gallium/drivers/svga/svga_pipe_depthstencil.c | 3 +++ src/gallium/drivers/svga/svga_pipe_rasterizer.c | 3 +++ 3 file