Re: [Mesa-dev] [PATCH] intel: Don't dereference a NULL pointer of calloc fails

2013-04-16 Thread Kenneth Graunke
On 04/16/2013 09:32 AM, Ian Romanick wrote: From: Ian Romanick The caller of NewTextureObject does the right thing if NULL is returned, so this function should do the right thing too. NOTE: This is a candidate for stable branches. Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/intel/

[Mesa-dev] [PATCH] intel: Don't dereference a NULL pointer of calloc fails

2013-04-16 Thread Ian Romanick
From: Ian Romanick The caller of NewTextureObject does the right thing if NULL is returned, so this function should do the right thing too. NOTE: This is a candidate for stable branches. Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/intel/intel_tex.c | 4 1 file changed, 4 inserti