[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] How to free FT_MM_Var*?
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] How to free FT_MM_Var*? |
Date: |
Thu, 22 Oct 2015 07:24:01 +0200 (CEST) |
> How to free the FT_MM_Var* returned by FT_Get_MM_Var()?
With `free'. The pointers inside the structure are nothing a user
should take care of.
> “The Multiple Masters/GX var descriptor. Allocates a data structure,
> which the user must free.” —
I've clarified this in the documentation.
> In the past, I believe there was a FT_FREE macro, but I couldn’t
> find it so I’m probably hallucinating it. I’m a little cautious to
> simply call free(), since I don’t know if FT_MM_Var might own other
> memory.
`FT_FREE' is an internal macro.
Werner