rpi: call eglTerminate if we're bailing

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
dev
U. Artie Eoff 11 years ago committed by Kristian Høgsberg
parent 5e854bcca2
commit ac9f35a72b
  1. 1
      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;
}

Loading…
Cancel
Save