[PATCH v2] Don't crash when asked if a client that has disconnected was local

Keith Packard keithp at keithp.com
Tue Jun 22 08:51:19 PDT 2010


On Tue, 22 Jun 2010 10:13:30 +0100, Simon Farnsworth <simon.farnsworth at onelan.com> wrote:

> Keith, does this look better to you?

Yup, seems fine now.

Reviewed-by: Keith Packard <keithp at keithp.com>

> +    if (!client->osPrivate)
> +        return FALSE;
> +    if (!((OsCommPtr)client->osPrivate)->trans_conn)
> +        return FALSE;
> +

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100622/78a2ecef/attachment.pgp>


More information about the xorg-devel mailing list