[PULL] Fix an XQuartz regression freeing incorrectly in QuartzSetCursor

Keith Packard keithp at keithp.com
Tue Jul 13 10:18:35 PDT 2010


On Tue, 13 Jul 2010 08:29:22 -0700, Jeremy Huddleston <jeremyhu at apple.com> wrote:

> Jeremy Huddleston (1):
>       XQuartz: Avoid a crash when mistakenly free()ing in QuartzSetCursor on some configs

I'd suggest just initializing 'data' to NULL instead of adding checks.

-- 
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/20100713/dabc8c1c/attachment.pgp>


More information about the xorg-devel mailing list