diff options
Diffstat (limited to 'src/cairo-scaled-font.c')
-rw-r--r-- | src/cairo-scaled-font.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c index 8ffbcb49..8df6d91a 100644 --- a/src/cairo-scaled-font.c +++ b/src/cairo-scaled-font.c @@ -352,7 +352,7 @@ _cairo_scaled_font_map_unlock (void) CAIRO_MUTEX_UNLOCK (_cairo_scaled_font_map_mutex); } -void +static void _cairo_scaled_font_map_destroy (void) { cairo_scaled_font_map_t *font_map; @@ -957,6 +957,8 @@ _cairo_scaled_font_reset_static_data (void) { int status; + _cairo_scaled_font_map_destroy (); + CAIRO_MUTEX_LOCK (_cairo_scaled_font_error_mutex); for (status = CAIRO_STATUS_SUCCESS; status <= CAIRO_STATUS_LAST_STATUS; |