diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2014-01-17 16:28:15 -0800 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-01-19 22:20:38 -0800 |
commit | ac9f35a72b592426809c5698caf9f2c2b55b5ec8 (patch) | |
tree | 1a85839d95b524a8e9b966ed60e6264dfa11b2b9 /src/rpi-renderer.c | |
parent | 5e854bcca29d73112edd3036c1fd0aa8a129ed2c (diff) |
rpi: call eglTerminate if we're bailing
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Diffstat (limited to 'src/rpi-renderer.c')
-rw-r--r-- | src/rpi-renderer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c index e086a229..3a7f65cc 100644 --- a/src/rpi-renderer.c +++ b/src/rpi-renderer.c @@ -1765,6 +1765,7 @@ rpi_renderer_create(struct weston_compositor *compositor, EGL_EXTENSIONS); if (!extensions) { weston_log("Retrieving EGL extension string failed.\n"); + eglTerminate(renderer->egl_display); free(renderer); return -1; } |