[vlc-commits] text_renderer: freetype: fix memleak
Francois Cartegnie
git at videolan.org
Wed Sep 18 18:23:36 CEST 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Sep 18 18:21:33 2013 +0200| [4094b06c49f748eff23b0d5aac1ab104e6fcac45] | committer: Francois Cartegnie
text_renderer: freetype: fix memleak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4094b06c49f748eff23b0d5aac1ab104e6fcac45
---
modules/text_renderer/freetype.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
index a2f292e..d4269e6 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -2344,6 +2344,7 @@ static void Destroy( vlc_object_t *p_this )
if( p_sys->p_xml ) xml_ReaderDelete( p_sys->p_xml );
free( p_sys->style.psz_fontname );
+ free( p_sys->style.psz_monofontname );
#ifdef _WIN32
free( p_sys->psz_win_fonts_path );
More information about the vlc-commits
mailing list