Re: [PATCH] [weston] Don't crash when eglCreateContext fails

2014-02-09 Thread Kristian Høgsberg
On Sat, Feb 08, 2014 at 08:11:24PM +0100, Mariusz Ceier wrote: > eglCreateContext fails with every EGLConfig that > nvidia blob 334.16 provides causing NULL pointer > dereference in gl_renderer_destroy when destroying > fragment and fan bindings. > > This should fix #74699. Looks good, thanks. C

[PATCH] [weston] Don't crash when eglCreateContext fails

2014-02-08 Thread Mariusz Ceier
eglCreateContext fails with every EGLConfig that nvidia blob 334.16 provides causing NULL pointer dereference in gl_renderer_destroy when destroying fragment and fan bindings. This should fix #74699. Signed-off-by: Mariusz Ceier --- src/gl-renderer.c | 6 -- 1 file changed, 4 insertions(+),