]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xterm.c (x_term_init): Fix last change.
authorPo Lu <luangruo@yahoo.com>
Tue, 1 Nov 2022 11:20:03 +0000 (19:20 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 1 Nov 2022 11:20:15 +0000 (19:20 +0800)
src/xterm.c

index d8358269f60dd5bea4faab44882b4af7d65b481b..bd60a04c6cdef69e5ce1ae4696845d3e05c7f0e2 100644 (file)
@@ -29801,7 +29801,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
        that also destroys the font, leading to to X protocol errors at
        XtCloseDisplay.  Just free the font info structure.
        (Bug#18403) */
-    XFreeFontInfo (NULL, query_result, 0);
+    XFreeFontInfo (NULL, query_result, 1);
     x_uncatch_errors ();
   }
 #endif