[PATCH weston 10/10] pixman-renderer: free shadow buffer on renderer destruction
Pekka Paalanen
ppaalanen at gmail.com
Thu Aug 28 04:16:37 PDT 2014
On Mon, 25 Aug 2014 20:56:52 +0200
rawoul at gmail.com wrote:
> From: Arnaud Vrac <avrac at freebox.fr>
>
> ---
> src/pixman-renderer.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c
> index a816d02..4fdcb05 100644
> --- a/src/pixman-renderer.c
> +++ b/src/pixman-renderer.c
> @@ -786,6 +786,9 @@ pixman_renderer_output_destroy(struct weston_output *output)
> if (po->hw_buffer)
> pixman_image_unref(po->hw_buffer);
>
> + free(po->shadow_buffer);
> +
> + po->shadow_buffer = NULL;
> po->shadow_image = NULL;
> po->hw_buffer = NULL;
>
Hi,
patches 6, 7 and 10 pushed, nice catches. :-)
Patches 8 and 9 commented on.
Thanks,
pq
More information about the wayland-devel
mailing list