Commit e74c4350 authored by Richard M. Stallman's avatar Richard M. Stallman


Free the font, and the fontinfo too if we don't want it.
parent 6b091ffc
......@@ -3480,6 +3480,12 @@ even if they match PATTERN and FACE.")
keeper = thisinfo && same_size_fonts (thisinfo, size_ref);
if (thisinfo && ! keeper)
XFreeFont (FRAME_X_DISPLAY (f), thisinfo);
else if (thisinfo)
XFreeFontInfo (NULL, thisinfo, 1);
keeper = same_size_fonts (&info[i], size_ref);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment