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
@ -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…
x
Reference in New Issue
Block a user