[PATCH v2 2/4] Free the data returned by XGetWindowProperty()

Alan Coopersmith alan.coopersmith at oracle.com
Thu May 21 13:42:06 PDT 2015


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.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list