[PATCH] Xi: don't crash when deleting invalid device properties.

Keith Packard keithp at keithp.com
Sun Nov 22 17:57:25 PST 2009


On Mon, 23 Nov 2009 10:35:56 +1000, Peter Hutterer <peter.hutterer at who-t.net> wrote:

> +    if (!prop)
> +        return BadAtom;
> +

Given that both callers convert BadAtom into Success, is there some
reason not to just return Success here?

-- 
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/20091122/e34883b1/attachment.pgp 


More information about the xorg-devel mailing list