[PATCH libXau] Free XauFileName() static buffer at exit

Alan Coopersmith alan.coopersmith at oracle.com
Fri Apr 20 14:35:13 PDT 2012


On 04/20/12 02:18 PM, Chase Douglas wrote:
> XauFileName() may allocate and return a static buffer. The only
> way to ensure it is freed is to deallocate it when the program exits.

...at which point it's automatically freed.   Is this just trying to
silence some sort of memory leak checking?

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


More information about the xorg-devel mailing list