Commit 7b2d11f2 authored by Naohiro KORIYAMA's avatar Naohiro KORIYAMA Committed by Jean-Baptiste Kempf

freetype: fix memleak

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 48ef1e2f
...@@ -2811,6 +2811,10 @@ static void Destroy( vlc_object_t *p_this ) ...@@ -2811,6 +2811,10 @@ static void Destroy( vlc_object_t *p_this )
if( p_sys->p_xml ) xml_ReaderDelete( p_sys->p_xml ); if( p_sys->p_xml ) xml_ReaderDelete( p_sys->p_xml );
free( p_sys->psz_fontfamily ); free( p_sys->psz_fontfamily );
#ifdef WIN32
free( p_sys->psz_win_fonts_path );
#endif
/* FcFini asserts calling the subfunction FcCacheFini() /* FcFini asserts calling the subfunction FcCacheFini()
* even if no other library functions have been made since FcInit(), * even if no other library functions have been made since FcInit(),
* so don't call it. */ * so don't call it. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment