git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5017d2
)
Fix memleak
author
Rafaël Carré
<funman@videolan.org>
Mon, 5 May 2008 15:33:40 +0000
(17:33 +0200)
committer
Rafaël Carré
<funman@videolan.org>
Mon, 5 May 2008 15:33:40 +0000
(17:33 +0200)
modules/misc/freetype.c
patch
|
blob
|
history
diff --git
a/modules/misc/freetype.c
b/modules/misc/freetype.c
index
7d13d03
..
6aa4846
100644
(file)
--- a/
modules/misc/freetype.c
+++ b/
modules/misc/freetype.c
@@
-1293,6
+1293,7
@@
static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
glyph_size.xMin + ((FT_BitmapGlyph)tmp_glyph)->left;
if( line.xMax > (int)p_filter->fmt_out.video.i_visible_width - 20 )
{
+ FT_Done_Glyph( (FT_Glyph)p_line->pp_glyphs[ i ] );
p_line->pp_glyphs[ i ] = NULL;
FreeLine( p_line );
p_line = NewLine( strlen( psz_string ));