rpi: Remove dangling reference to weston_view

This also marks the rpir_view for destroy in rpi_renderer_finish_frame()
dev
Tomeu Vizoso 11 years ago committed by Kristian Høgsberg
parent e3df6f1bbc
commit 34dad7d69b
  1. 2
      src/rpi-renderer.c

@ -1501,6 +1501,8 @@ rpi_renderer_destroy_view(struct weston_view *base)
if (!view)
return;
view->view = NULL;
/* If guaranteed to not be on screen, just detroy it. */
if (wl_list_empty(&view->link))
rpir_view_destroy(view);

Loading…
Cancel
Save