[Top][All Lists]

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

Re: [ft] Question about FT_Get_Sfnt_Name

From: Lawrence D'Oliveiro
Subject: Re: [ft] Question about FT_Get_Sfnt_Name
Date: Wed, 11 Jan 2017 21:43:02 +1300

On Wed, 11 Jan 2017 11:00:49 +0800, 張俊芝 wrote:

> I  have a question about FT_Get_Sfnt_Name. The official
> documentation  about this
> function(
> gives the following information:
> The ‘string’ array returned in the ‘aname’ structure is not
> null-terminated. The application should deallocate it if it is no
> longer  in use.
> However, every time I try to free the string, it always causes a
> double-free error.

I can confirm I get the same kind of error in python_freetype
<>. My conclusion is: don’t free
the string.

reply via email to

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