Commit e8374b39 authored by Dmitry Antipov's avatar Dmitry Antipov
Browse files

* font.c (font_find_for_lface): Ensure SAFE_FREE on return.

parent 7d01e13c
......@@ -2,6 +2,7 @@
* xdisp.c (display_tool_bar_line): Don't extend on a previously
drawn tool bar items (Bug#16058).
* font.c (font_find_for_lface): Ensure SAFE_FREE on return.
2013-12-09 Ken Brown <kbrown@cornell.edu>
......
......@@ -3209,7 +3209,10 @@ font_find_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec, int
val = font_select_entity (f, entities,
attrs, pixel_size, c);
if (! NILP (val))
return val;
{
SAFE_FREE ();
return val;
}
}
}
}
......
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