freetype: fix a segfault introduced in [21339]
authorRafaël Carré <funman@videolan.org>
Thu, 4 Oct 2007 02:57:18 +0000 (02:57 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 4 Oct 2007 02:57:18 +0000 (02:57 +0000)
commit4f5d55cf666f7a069b4e81679c2823f53a472911
treeeac6e2be32dd39af34494fbb02e8b80af60d1a56
parent47deab9fafd04d84354e9e3c8ec3944b57ef94e7
freetype: fix a segfault introduced in [21339]
FcConfigSetCurrent( p_sys->p_fontconfig ) is useless since we already use that configuration, and it will destroy it.
So, when we want to destroy it again when freetype module is closed, CRASH.
modules/misc/freetype.c