aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index e7edc0595b3..b8d326f4407 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3342,6 +3342,14 @@ cleanup_vector (struct Lisp_Vector *vector)
3342 drv->close_font (font); 3342 drv->close_font (font);
3343 } 3343 }
3344 } 3344 }
3345
3346#if defined HAVE_ANDROID && !defined ANDROID_STUBIFY
3347 /* The Android font driver needs the ability to associate extra
3348 information with font entities. */
3349 if ((vector->header.size & PSEUDOVECTOR_SIZE_MASK)
3350 == FONT_ENTITY_MAX)
3351 android_finalize_font_entity (PSEUDOVEC_STRUCT (vector, font_entity));
3352#endif
3345 } 3353 }
3346 else if (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_THREAD)) 3354 else if (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_THREAD))
3347 finalize_one_thread (PSEUDOVEC_STRUCT (vector, thread_state)); 3355 finalize_one_thread (PSEUDOVEC_STRUCT (vector, thread_state));
@@ -6467,6 +6475,10 @@ garbage_collect (void)
6467 mark_xselect (); 6475 mark_xselect ();
6468#endif 6476#endif
6469 6477
6478#ifdef HAVE_ANDROID
6479 mark_androidterm ();
6480#endif
6481
6470#ifdef HAVE_NS 6482#ifdef HAVE_NS
6471 mark_nsterm (); 6483 mark_nsterm ();
6472#endif 6484#endif