[vlc-commits] freetype: darwin: fix memory-leak
Filip Roséen
git at videolan.org
Wed Jul 4 11:30:35 CEST 2018
vlc | branch: master | Filip Roséen <filip at atch.se> | Wed Jul 4 09:34:14 2018 +0200| [67820835539624b5e71f9407c067be846b475a51] | committer: Marvin Scholz
freetype: darwin: fix memory-leak
Signed-off-by: Marvin Scholz <epirat07 at gmail.com>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=67820835539624b5e71f9407c067be846b475a51
---
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 cba5fb21d2..47a011eed0 100644
--- a/modules/text_renderer/freetype/fonts/darwin.c
+++ b/modules/text_renderer/freetype/fonts/darwin.c
@@ -289,6 +289,7 @@ done:
CFRelease(codepointString);
CFRelease(fallbackFont);
CFRelease(fallbackFontFamilyName);
+ free(psz_fallbackFamilyName);
free(psz_lc_fallback);
free(psz_fontPath);
if (postScriptFallbackFontname != NULL)
More information about the vlc-commits
mailing list