[krh/wayland/next 3/5] connection: Removed crashing code.

Pekka Paalanen ppaalanen at gmail.com
Tue Oct 16 01:40:00 PDT 2012


On Fri, 12 Oct 2012 11:28:26 +0200
John Kåre Alsaker <john.kare.alsaker at gmail.com> wrote:

> ---
>  src/connection.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/connection.c b/src/connection.c
> index 58b150b..ad060b0 100644
> --- a/src/connection.c
> +++ b/src/connection.c
> @@ -622,7 +622,6 @@ wl_connection_demarshal(struct wl_connection *connection,
>  	unsigned int i, count, extra_space;
>  	const char *signature = message->signature;
>  	struct argument_details arg;
> -	struct wl_object **object;
>  	struct wl_array **array;
>  	struct wl_closure *closure;
>  
> @@ -715,7 +714,6 @@ wl_connection_demarshal(struct wl_connection *connection,
>  				printf("NULL object received on non-nullable "
>  				       "type, message %s(%s)\n", message->name,
>  				       message->signature);
> -				*object = NULL;
>  				errno = EINVAL;
>  				goto err;
>  			}

I think this one would be pretty important.

Thanks,
pq


More information about the wayland-devel mailing list