Re: cairo_font_face_t not freeing
Lawrence D'Oliveiro <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Wed, 3 May 2017 13:25:51 -0400, Louis M wrote: > Is there not a dangerous memory leak there? If for example, I have a > function that create a Freetype font face and generate a cairo font > face with it. Then, since the font face will never be freed, I cannot > free the Freetype font face. If I relaunch the function multiple > time, new Freetype font face will be created each time. If you pass it the same FT_Face, you will get back the same cairo_font_face_t. -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo