weston/libweston/renderer-gl
Daniel Stone d76947b666 gl-renderer: Avoid double-free on init failure
If gl-renderer fails its initialisation, we return to compositor
teardown, which will try to free the renderer if ec->renderer was set.
This is unfortunate when we've already torn it down whilst failing
gl-renderer init, so just clear the renderer member so we don't try to
tear down twice.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reported-by: Emil Velikov <emil.velikov@collabora.com>
2020-02-03 20:01:21 +00:00
..
egl-glue.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
gl-renderer-internal.h gl-renderer: Add support for XYUV format (v2) 2019-11-25 17:19:33 -08:00
gl-renderer.c gl-renderer: Avoid double-free on init failure 2020-02-03 20:01:21 +00:00
gl-renderer.h headless, gl-renderer: support pbuffer outputs 2019-10-11 12:16:35 +00:00
meson.build build: link libm explicitly 2019-10-24 13:29:33 +03:00