From: Po Lu Date: Tue, 1 Nov 2022 11:20:03 +0000 (+0800) Subject: * src/xterm.c (x_term_init): Fix last change. X-Git-Tag: emacs-29.0.90~1616^2~356 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e39537ea1ec54e4073b2a3da2c94022c8ca912c2;p=emacs.git * src/xterm.c (x_term_init): Fix last change. --- 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