[vlc-devel] commit: freetype: check xml-pointer before deleting it (Ilkka Ollakka )
git version control
git at videolan.org
Sun Dec 6 19:07:26 CET 2009
vlc | branch: 1.0-bugfix | Ilkka Ollakka <ileoo at videolan.org> | Tue Aug 4 13:29:07 2009 +0300| [019894b208c4b548a749d5290de3c955328c58f0] | committer: Ilkka Ollakka
freetype: check xml-pointer before deleting it
(cherry picked from commit ce7e4589b26d883f7f8e30d3289445038570a62d)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=019894b208c4b548a749d5290de3c955328c58f0
---
modules/misc/freetype.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c
index 899bba2..a23b6aa 100644
--- a/modules/misc/freetype.c
+++ b/modules/misc/freetype.c
@@ -425,6 +425,7 @@ static void Destroy( vlc_object_t *p_this )
#ifdef HAVE_FONTCONFIG
FontBuilderDetach( p_filter, p_sys->p_fontbuilder );
+ if( p_sys->p_xml ) xml_Delete( p_sys->p_xml );
#endif
/* FcFini asserts calling the subfunction FcCacheFini()
More information about the vlc-devel
mailing list