[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Re: Cache manager/glyph copy memory leak problem
From: |
Werner LEMBERG |
Subject: |
[ft] Re: Cache manager/glyph copy memory leak problem |
Date: |
Mon, 28 Jan 2008 10:27:53 +0100 (CET) |
> Can somebody help me with a memory leak issue that I'm having when I
> use FTC_ImageCache_Lookup() and FT_Glyph_Copy()?
Here is David's reply:
this code is simply buggy. for example, the line that says:
glyph_ptr = &tmp_glyph;
is invalid because tmp_glyph is a local variable defined in the
inner scope, and the glyph_ptr value is later used in an outer
scope.
Werner
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ft] Re: Cache manager/glyph copy memory leak problem,
Werner LEMBERG <=