diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sfntfont.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sfntfont.c b/src/sfntfont.c index bb816fabd3e..b9141b05aad 100644 --- a/src/sfntfont.c +++ b/src/sfntfont.c | |||
| @@ -2565,6 +2565,8 @@ sfntfont_close (struct font *font) | |||
| 2565 | xfree (info->cvt); | 2565 | xfree (info->cvt); |
| 2566 | xfree (info->interpreter); | 2566 | xfree (info->interpreter); |
| 2567 | 2567 | ||
| 2568 | #ifdef HAVE_MMAP | ||
| 2569 | |||
| 2568 | /* Unlink INFO. */ | 2570 | /* Unlink INFO. */ |
| 2569 | 2571 | ||
| 2570 | next = &open_fonts; | 2572 | next = &open_fonts; |
| @@ -2575,6 +2577,8 @@ sfntfont_close (struct font *font) | |||
| 2575 | *next = info->next; | 2577 | *next = info->next; |
| 2576 | info->next = NULL; | 2578 | info->next = NULL; |
| 2577 | 2579 | ||
| 2580 | #endif /* HAVE_MMAP */ | ||
| 2581 | |||
| 2578 | sfntfont_free_outline_cache (&info->outline_cache); | 2582 | sfntfont_free_outline_cache (&info->outline_cache); |
| 2579 | sfntfont_free_raster_cache (&info->raster_cache); | 2583 | sfntfont_free_raster_cache (&info->raster_cache); |
| 2580 | } | 2584 | } |