]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove one more check that Vframe_list is non-nil
authorMartin Rudalics <rudalics@gmx.at>
Sat, 16 Dec 2017 09:14:29 +0000 (10:14 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 16 Dec 2017 09:14:29 +0000 (10:14 +0100)
* 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.

src/dispnew.c

index d07864718c30cb5de73c8e82880c133fed4ac34f..b0fc5c31fa13b6ed6a86d2f1bb7fe20b588f0269 100644 (file)
@@ -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.  */