Commit a1327bbc authored by Martin Rudalics's avatar Martin Rudalics

Remove one more check that Vframe_list is non-nil

* src/dispnew.c (check_glyph_memory): Remove no-longer-needed
check that Vframe_list is non-nil, as FOR_EACH_FRAME no longer
assumes that.
parent 63b6281f
......@@ -2260,9 +2260,8 @@ check_glyph_memory (void)
Lisp_Object tail, frame;
/* Free glyph memory for all frames. */
if (!NILP (Vframe_list))
FOR_EACH_FRAME (tail, frame)
free_glyphs (XFRAME (frame));
FOR_EACH_FRAME (tail, frame)
free_glyphs (XFRAME (frame));
#if defined GLYPH_DEBUG && defined ENABLE_CHECKING
/* Check that nothing is left allocated. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment