On Wed, Jan 27, 2016 at 10:06:28AM +0100, Marek Chalupa wrote:
> we're returning a pointer
> 
> Signed-off-by: Marek Chalupa <[email protected]>

Reviewed-by: Bryce Harrington <[email protected]>

And pushed:
To ssh://git.freedesktop.org/git/wayland/wayland
   ed68095..5ac34a1  master -> master

> ---
>  src/wayland-util.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/wayland-util.c b/src/wayland-util.c
> index e782309..3f95877 100644
> --- a/src/wayland-util.c
> +++ b/src/wayland-util.c
> @@ -127,7 +127,7 @@ wl_array_add(struct wl_array *array, size_t size)
>                       data = malloc(alloc);
>  
>               if (data == NULL)
> -                     return 0;
> +                     return NULL;
>               array->data = data;
>               array->alloc = alloc;
>       }
> -- 
> 2.5.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