diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-08-08 02:39:50 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-08-08 02:39:50 +0000 |
commit | 52c3d01617f6d3b65d366520b0db72ce7681dca7 (patch) | |
tree | c6bbe51e6a00cc5cf692d9a1c52cb4f867e42c12 | |
parent | 5cb8c55df53371c24269afb6f68525ab33ea6449 (diff) | |
download | emacs-52c3d01617f6d3b65d366520b0db72ce7681dca7.tar.gz |
(x_list_fonts): Fix previous change.
-rw-r--r-- | src/xterm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 5ae37327d7f..18a6619abba 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6497,7 +6497,9 @@ x_list_fonts (f, pattern, size, maxnames) } else try_XLoadQueryFont = 0; - XFreeFont (font); + + if (font) + XFreeFont (dpy, font); } if (!try_XLoadQueryFont) |