(x_list_fonts): Fix previous change.

This commit is contained in:
Richard M. Stallman 1998-08-08 02:39:50 +00:00
parent 346e135fb3
commit a083fd237d

View file

@ -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)