diff options
Diffstat (limited to 'src/fcinit.c')
-rw-r--r-- | src/fcinit.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fcinit.c b/src/fcinit.c index 404c2c6..8c596f9 100644 --- a/src/fcinit.c +++ b/src/fcinit.c @@ -108,6 +108,19 @@ FcInit (void) } /* + * Free all library-allocated data structures. + */ +void +FcFini (void) +{ + if (_fcConfig) + FcConfigDestroy (_fcConfig); + + FcPatternThawAll (); + FcCharSetThawAll (); +} + +/* * Reread the configuration and available font lists */ FcBool |