[PATCH v2 12/25] [libx11] Instead of copying the value returned by get_prop_name and then releasing it, directly use the return value of get_prop_name, which allocates memory for the name.

Alan Coopersmith alan.coopersmith at oracle.com
Mon Jan 31 23:47:32 PST 2011


On 01/31/11 11:42 PM, Alan Coopersmith wrote:
> Plus this would solve the "unused variable prop_name" warning that your patch
> would introduce.

Never mind that bit, your patch still used prop_name, just as an extra variable
to copy through.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list