On Mon, May 28, 2012 at 02:07:25PM +0800, [email protected] wrote:
> From: Yan Wang <[email protected]>
> 
> This array is allocated in create_cursors(). It should be freed in 
> destroy_cursors().

Thanks, committed.
Kristian

> ---
>  clients/window.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/clients/window.c b/clients/window.c
> index bab5d76..0c6f556 100644
> --- a/clients/window.c
> +++ b/clients/window.c
> @@ -661,6 +661,7 @@ static void
>  destroy_cursors(struct display *display)
>  {
>       wl_cursor_theme_destroy(display->cursor_theme);
> +     free(display->cursors);
>  }
>  
>  struct wl_cursor_image *
> -- 
> 1.7.7.6
> 
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to