Re: [PATCH weston 1/2] screen-share: Avoid NULL dereference

2017-02-21 Thread Bryce Harrington
On Thu, Feb 16, 2017 at 07:59:50PM +, Daniel Stone wrote: > Don't try to dereference the seat if it's NULL. > > Signed-off-by: Daniel Stone Yep, obviously correct. Reviewed-by: Bryce Harrington > --- > compositor/screen-share.c | 3 ++- > 1

[PATCH weston 1/2] screen-share: Avoid NULL dereference

2017-02-16 Thread Daniel Stone
Don't try to dereference the seat if it's NULL. Signed-off-by: Daniel Stone --- compositor/screen-share.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compositor/screen-share.c b/compositor/screen-share.c index bcb9def..069da1d 100644 ---