Re: [PATCH] compositor: Check buffer is valid after retrieving it from the resource

2012-05-22 Thread Rob Bradford
*cough* *cough* The astute of you would have notice this patch is wrong since weston_surface_attach called with a NULL buffer is an expected and desired behaviour :-) Cheers, Rob On 21 May 2012 19:26, Rob Bradford wrote: > From: Rob Bradford > > --- >  src/compositor.c |    6 +++--- >  1 file

[PATCH] compositor: Check buffer is valid after retrieving it from the resource

2012-05-21 Thread Rob Bradford
From: Rob Bradford --- src/compositor.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index ba201af..83305f3 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2006,12 +2006,12 @@ pointer_attach(struct wl_client *client, s