From e39537ea1ec54e4073b2a3da2c94022c8ca912c2 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 1 Nov 2022 19:20:03 +0800 Subject: [PATCH] * src/xterm.c (x_term_init): Fix last change. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index d8358269f60..bd60a04c6cd 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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 -- 2.39.2