[PATCH libXft] xftfreetype.c: add XftDestroyFtLibrary().

ms ms at kilabit.org
Mon Apr 12 11:05:14 PDT 2010


On 04/12/2010 09:37 PM, Alan Coopersmith wrote:
> m.shulhan wrote:
>> Allow application to release _XftFTlibrary, for cleaning up unused memory.
> 
> If this is intended as new public API, shouldn't there be an addition to the
> man page for it?
> 

It should be. But, since there is no documentation about
XftInitFtLibrary in the man page, i am not quite sure how to put them
properly in the man page.

Calling Xft init and destroy is not a mandatory actually, it just that
when debugging X application with Valgrind, it print the garbage output
when client is not destroying the _XftFTlibrary manually.

Current attachment is a patch for the man page (Xft.man) that add
function definition for XftInitFtLibrary and XftDestroyFtLibrary.

--


More information about the xorg-devel mailing list