[vlc-commits] Freetype: fix leak on Darwin

Jean-Baptiste Kempf git at videolan.org
Mon Jul 24 16:12:36 CEST 2017


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jul 24 16:12:08 2017 +0200| [70d192d39c3311c232a7ab3204086bf129ee2bed] | committer: Jean-Baptiste Kempf

Freetype: fix leak on Darwin

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

 modules/text_renderer/freetype/fonts/darwin.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/text_renderer/freetype/fonts/darwin.c b/modules/text_renderer/freetype/fonts/darwin.c
index a3ea832954..b460afe72f 100644
--- a/modules/text_renderer/freetype/fonts/darwin.c
+++ b/modules/text_renderer/freetype/fonts/darwin.c
@@ -195,6 +195,7 @@ end:
 
     CFRelease(coreTextFontDescriptorsArray);
     CFRelease(familyName);
+    free(psz_lc);
 
     return p_family;
 }



More information about the vlc-commits mailing list