> I'm porting FreeType-2.5.5 to an embedded RTOS. However, I found
> memory leak in looped `FT_Load_Char(fft->face, *text_ptr,
> FT_LOAD_RENDER)` while the memory won't leak if I set the load_flags
> ORed with FT_LOAD_NO_HINTING.
> 
> So I dive into the source code and found in the tt_loader_init, the
> `size->bytecode_ready` and `size->cvt_ready` are always -1, causing
> `tt_size_ready_bytecode` run on the same `size` repeatedly. So the
> previous content of size will be leaked.

Please provide a stand-alone, compilable minimum example that exhibits
the problem.  I can then do some debugging.


    Werner

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to