[vlc-commits] freetype: fix memory leak

Rémi Denis-Courmont git at videolan.org
Mon Jun 10 20:25:55 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 10 21:25:10 2013 +0300| [c29417724ed390bf118860f2ecda1745a2bb9b40] | committer: Rémi Denis-Courmont

freetype: fix memory leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c29417724ed390bf118860f2ecda1745a2bb9b40
---

 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 22346a6..cdc9243 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -2999,6 +2999,7 @@ static void Destroy( vlc_object_t *p_this )
 
     if( p_sys->p_xml ) xml_ReaderDelete( p_sys->p_xml );
     free( p_sys->psz_fontfamily );
+    free( p_sys->psz_monofontfamily );
 
 #ifdef _WIN32
     free( p_sys->psz_win_fonts_path );



More information about the vlc-commits mailing list