[PATCH 1/2] rpi: Remove dangling reference to weston_view

Kristian Høgsberg hoegsberg at gmail.com
Fri Oct 25 20:06:11 CEST 2013


On Fri, Oct 25, 2013 at 10:34:37AM +0200, Tomeu Vizoso wrote:
> This also marks the rpir_view for destroy in rpi_renderer_finish_frame()
> ---
>  src/rpi-renderer.c | 2 ++
>  1 file changed, 2 insertions(+)

These two applied, thanks.

Kristian

> diff --git a/src/rpi-renderer.c b/src/rpi-renderer.c
> index 812e6e7..7f79410 100644
> --- a/src/rpi-renderer.c
> +++ b/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);
> -- 
> 1.8.3.1
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list