[PATH] XQuartz: Drop calls to alloca

Jeremy Huddleston jeremyhu at apple.com
Mon Nov 30 16:46:46 PST 2009


On Nov 30, 2009, at 13:57, Keith Packard wrote:

> On Mon, 30 Nov 2009 11:03:59 -0800, Jeremy Huddleston <jeremyhu at apple.com> wrote:
> 
>> This makes us more consistent with the rest of the codebase, using
>> xalloc/xfree
> 
> xalloc/xfree instead of malloc/free?

It's using xalloc/xfree where applicable.

The call to malloc/free that you see is restricted to stub.c which is not actually part of the server binary.  It is a stub which is exec'd (/usr/X11/bin/X) and does the correct translation/handoff of argv and sockets over Mach-O IPC to XQuartz which is/was started via launchd or LaunchServices on OSX.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5820 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091130/6fc6fb8b/attachment-0001.bin 


More information about the xorg-devel mailing list