Commit a03a26db authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fx_list_fonts): Don't free thisinfo if it is 0.

parent 5be02dff
......@@ -3239,7 +3239,8 @@ even if they match PATTERN and FACE.")
if (thisinfo && same_size_fonts (thisinfo, size_ref))
newlist = Fcons (XCONS (tem)->car, newlist);
XFreeFont (FRAME_X_DISPLAY (f), thisinfo);
if (thisinfo != 0)
XFreeFont (FRAME_X_DISPLAY (f), thisinfo);
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