freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ft-devel] failed to compile ftvalid.c


From: Turner, David
Subject: RE: [ft-devel] failed to compile ftvalid.c
Date: Thu, 17 Nov 2005 12:41:03 +0100

>
> You should use free() in ftvalid.c because FT_FREE() is not a public
> API.
>

First of all, the code within FreeType should *never* use 'free'
or 'malloc' directly. The font engine can be compiled in environments
where these functions are not available.

Your problem is that the public API of the validation components
lacks a proper function to release the memory the have allocated.

define and implement one, then modify the ftvalid.c test program
to call it.


- David
***********************************************************************************
Information contained in this email message is confidential and may be 
privileged, and is intended only for use of the individual or entity named 
above. If the reader of this message is not the intended recipient, or the 
employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. If you have received this communication 
in error, please immediately notify the address@hidden and destroy the original 
message.
***********************************************************************************





reply via email to

[Prev in Thread] Current Thread [Next in Thread]