[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory leaks?
From: |
Elliot Lee |
Subject: |
Re: Memory leaks? |
Date: |
Wed, 28 Jun 2000 11:20:08 -0400 (EDT) |
On Fri, 23 Jun 2000, David Turner wrote:
> >memprof (http://people.redhat.com/otaylor/memprof/) complains about a
> >bunch of leaks in freetype, and from a quick look at one of the most
> >common ones (FT_Get_Glyph_Bitmap - there's no standard way of freeing the
> >the bitmap buffer that it allocates) it seems like it's not just my
> >imagination.
> >
> >Known problem, or are there some destructors that I should be calling and
> >might be missing?
>
> What about FT_Done_Glyph ?? (also defined in <freetype/ftglyph.h>)
> It's supposed to destroy the bitmap buffer..
FT_Done_Glyph destroys an FT_Glyph. It doesn't do cleanup for the
FT_GlyphSlot contained in an FT_Face.
-- Elliot
The best way to accelerate a Macintosh is at 9.8 meters per second per second.