summaryrefslogtreecommitdiff
path: root/navit/font/freetype
diff options
context:
space:
mode:
authorwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-20 12:16:41 +0000
committerwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-20 12:16:41 +0000
commit09a4413c92fb3749f20f445d3133602a12ef3a5b (patch)
tree9f8646bd29adacf2a25d0204bfdabf6957daac5f /navit/font/freetype
parent2d0e0b5ad3430c174f6abf664b45da6e54295c94 (diff)
downloadnavit-09a4413c92fb3749f20f445d3133602a12ef3a5b.tar.gz
Fix:font/freetype:cleanup fontconfig memory at exit
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5585 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/font/freetype')
-rw-r--r--navit/font/freetype/font_freetype.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/font/freetype/font_freetype.c b/navit/font/freetype/font_freetype.c
index b308f16ce..373908f3e 100644
--- a/navit/font/freetype/font_freetype.c
+++ b/navit/font/freetype/font_freetype.c
@@ -779,6 +779,9 @@ font_freetype_glyph_get_glyph(struct font_freetype_glyph *g,
static void
font_freetype_destroy(void) {
if (!library_deinit) {
+#ifdef HAVE_FONTCONFIG
+ FcFini();
+#endif
#if USE_CACHING
FTC_Manager_Done(manager);
#endif