Am 21.05.2015 22:42, schrieb Alan Coopersmith:
> On 05/21/15 10:13 AM, walter harms wrote:
>> maybe this was the case in older versions.
>> a current free() should accept NULL.
>>
>> Xfree is onyl a wrapper for free()
>> #define Xfree(ptr) free((ptr))
>
> That's Xfree(), not XFree(). X11 has both, because it loves you and
> wants you to learn that case sensitivity matters.
>
int
XFree (void *data)
{
Xfree (data);
return 1;
}
i hesitate to ask if anyone ever check the return code of XFree().
Unfortunately i promised to spend time for an other project
but it would be nice if someone could cleanup to this mess at least
fix the documentation.
re,
wh
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel