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, 9 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 4fab0d54248..ac5cf06805b 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6853,9 +6853,15 @@ mark_glyph_matrix (struct glyph_matrix *matrix)
6853 struct glyph *end_glyph = glyph + row->used[area]; 6853 struct glyph *end_glyph = glyph + row->used[area];
6854 6854
6855 for (; glyph < end_glyph; ++glyph) 6855 for (; glyph < end_glyph; ++glyph)
6856 if (STRINGP (glyph->object) 6856 {
6857 && !string_marked_p (XSTRING (glyph->object))) 6857#if 0 /* FIXME/tty: Probably not needed */
6858 mark_object (glyph->object); 6858 if (glyph->frame)
6859 mark_object (glyph->frame);
6860#endif
6861 if (STRINGP (glyph->object)
6862 && !string_marked_p (XSTRING (glyph->object)))
6863 mark_object (glyph->object);
6864 }
6859 } 6865 }
6860 } 6866 }
6861} 6867}