freetype
[Top][All Lists]
Advanced

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

[Freetype] Memory leaks


From: Dave Williss
Subject: [Freetype] Memory leaks
Date: Mon, 15 Oct 2001 10:07:49 -0500

Question:
 
If I do this...
 
    TT_New_Glyph(face, &glyph);
    for (i = 0 ; i < n ; ++i) {
        TT_Load_Glyph(instance, glyph, index[i], flags);
            ... use glyph...
    }
 
    TT_Done_Glyph(glyph)
 
Will I be leaking memory on each call to Load Glyph or
should I create and destroy the glyph handle for each call?
Seems terribily inefficient but to do that, but doing it as
above I seem to be leaking memory.
 
 -- Dave Williss
------
Meddle not in the affairs of dragons,
   for you are crunchy and taste good with catsup

reply via email to

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