On Tue, Feb 03, 2015 at 11:07:06AM +1000, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <[email protected]>

Reviewed-by: Jonas Ådahl <[email protected]> on the whole series.

> ---
>  src/libinput.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/libinput.c b/src/libinput.c
> index 951698a..7456b90 100644
> --- a/src/libinput.c
> +++ b/src/libinput.c
> @@ -510,7 +510,7 @@ libinput_add_fd(struct libinput *libinput,
>       struct libinput_source *source;
>       struct epoll_event ep;
>  
> -     source = malloc(sizeof *source);
> +     source = zalloc(sizeof *source);
>       if (!source)
>               return NULL;
>  
> -- 
> 2.1.0
> 
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to