mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 08:18:09 +02:00
rpi: call eglTerminate if we're bailing
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
This commit is contained in:
parent
5e854bcca2
commit
ac9f35a72b
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue