Commit ce7e4589 authored by Ilkka Ollakka's avatar Ilkka Ollakka
Browse files

freetype: check xml-pointer before deleting it

parent dc0a84b8
......@@ -478,7 +478,7 @@ static void Destroy( vlc_object_t *p_this )
#ifdef HAVE_FONTCONFIG
FontBuilderDetach( p_filter, p_sys->p_fontbuilder );
xml_Delete( p_sys->p_xml );
if( p_sys->p_xml ) xml_Delete( p_sys->p_xml );
free( p_sys->psz_fontfamily );
#endif
......
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