aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index d07864718c3..b0fc5c31fa1 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2260,9 +2260,8 @@ check_glyph_memory (void)
2260 Lisp_Object tail, frame; 2260 Lisp_Object tail, frame;
2261 2261
2262 /* Free glyph memory for all frames. */ 2262 /* Free glyph memory for all frames. */
2263 if (!NILP (Vframe_list)) 2263 FOR_EACH_FRAME (tail, frame)
2264 FOR_EACH_FRAME (tail, frame) 2264 free_glyphs (XFRAME (frame));
2265 free_glyphs (XFRAME (frame));
2266 2265
2267#if defined GLYPH_DEBUG && defined ENABLE_CHECKING 2266#if defined GLYPH_DEBUG && defined ENABLE_CHECKING
2268 /* Check that nothing is left allocated. */ 2267 /* Check that nothing is left allocated. */