diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index 0667353c1a8..02deaa94af1 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -42,6 +42,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 42 | #include "frame.h" | 42 | #include "frame.h" |
| 43 | #include "blockinput.h" | 43 | #include "blockinput.h" |
| 44 | #include "termhooks.h" /* For struct terminal. */ | 44 | #include "termhooks.h" /* For struct terminal. */ |
| 45 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 46 | #include TERM_HEADER | ||
| 47 | #endif /* HAVE_WINDOW_SYSTEM */ | ||
| 45 | 48 | ||
| 46 | #include <verify.h> | 49 | #include <verify.h> |
| 47 | 50 | ||
| @@ -6115,6 +6118,9 @@ mark_terminals (void) | |||
| 6115 | it might have been marked already. Make sure the image cache | 6118 | it might have been marked already. Make sure the image cache |
| 6116 | gets marked. */ | 6119 | gets marked. */ |
| 6117 | mark_image_cache (t->image_cache); | 6120 | mark_image_cache (t->image_cache); |
| 6121 | /* FIXME: currently font cache may grow too large | ||
| 6122 | and probably needs special finalization. */ | ||
| 6123 | mark_object (TERMINAL_FONT_CACHE (t)); | ||
| 6118 | #endif /* HAVE_WINDOW_SYSTEM */ | 6124 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 6119 | if (!VECTOR_MARKED_P (t)) | 6125 | if (!VECTOR_MARKED_P (t)) |
| 6120 | mark_vectorlike ((struct Lisp_Vector *)t); | 6126 | mark_vectorlike ((struct Lisp_Vector *)t); |