Re: [Mesa-dev] [PATCH] st/mesa: add null pointer check in st_renderbuffer_delete()

2012-12-04 Thread Jose Fonseca
We'll leak strb->surface, but I suspect there is no solution other than fixing the use of surfaces by contexts that didn't create them. Reviewed-by: Jose Fonseca - Original Message - > From: Brian Paul > > In my testing I haven't found any cases where we get a null context > pointer,

[Mesa-dev] [PATCH] st/mesa: add null pointer check in st_renderbuffer_delete()

2012-12-03 Thread Brian Paul
From: Brian Paul In my testing I haven't found any cases where we get a null context pointer, but it might still be possible. Check for null just to be safe. Note: This is a candidate for the stable branches. --- src/mesa/state_tracker/st_cb_fbo.c |8 1 files changed, 4 insertions